Closed
Bug 1039128
Opened 12 years ago
Closed 12 years ago
MP4Reader doesn't reach end of avatar.mp4 on Windows
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: cpearce, Assigned: ajones)
References
Details
Attachments
(1 file)
|
11.44 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
When I play http://people.mozilla.org/~cpearce/avatar.mp4 with the MP4Reader on Windows, we don't play all the way to the end of the video stream. It's supposed to end with a few black frames, but playback stops still showing so "December 18th" text.
This is despite me having the patch for bug 973710 in my tree.
| Assignee | ||
Comment 1•12 years ago
|
||
Same issue on http://people.mozilla.org/~ajones/mse/test.mp4 not counting to 6 seconds.
| Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8462262 -
Flags: review?(cpearce)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ajones
Status: NEW → ASSIGNED
| Reporter | ||
Comment 3•12 years ago
|
||
Comment on attachment 8462262 [details] [diff] [review]
Fix drain of video queue
Review of attachment 8462262 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/media/fmp4/PlatformDecoderModule.h
@@ +129,5 @@
> // Denotes that the last input sample has been inserted into the decoder,
> // and no more output can be produced unless more input is sent.
> virtual void InputExhausted() = 0;
> +
> + virtual void DrainComplete() = 0;
The comments are now out of date.
Please replace the following comment on MediaDataDecoder::Drain() below:
// This function is synchronous. Once it's returned, all samples to be
// output should have been returned via callback to the MP4Reader.
with:
// This function is asynchronous. The MediaDataDecoder must call
// MediaDataDecoderCallback::DrainComplete() once all remaining
// samples have been output.
Attachment #8462262 -
Flags: review?(cpearce) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•12 years ago
|
QA Whiteboard: [good first verify]
You need to log in
before you can comment on or make changes to this bug.
Description
•