Closed
Bug 1114928
Opened 11 years ago
Closed 11 years ago
[FFOS][MSE] GonkMediaDataDecoder Throws a false alarm
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: bwu, Assigned: bwu)
References
Details
Attachments
(1 file, 1 obsolete file)
2.20 KB,
patch
|
bwu
:
review+
|
Details | Diff | Splinter Review |
Play the link[1] on Youtube via dash and it just lasts 4 second and stops.
Refreshing browser doesn't re-trigger anything. It looks like it hang or gets stuck.
If I play [1] with MAC's nightly version, 37.0a1 (2014-12-22), it can play well.
[1]https://www.youtube.com/watch?v=wmgzfn1VtQ4
Assignee | ||
Comment 1•11 years ago
|
||
It looks there is a false alarm when getting EOS frame [1][2] and it makes playback stop.
[1]http://dxr.mozilla.org/mozilla-central/source/dom/media/fmp4/gonk/GonkVideoDecoderManager.cpp?from=GonkVideoDecoderManager.cpp&case=true#404
[2]http://dxr.mozilla.org/mozilla-central/source/dom/media/fmp4/gonk/GonkAudioDecoderManager.cpp?from=GonkAudioDecoderManager.cpp#180
Assignee: nobody → bwu
Assignee | ||
Updated•11 years ago
|
Summary: [FFOS][MSE] Youtube just play 4 seconds and stop. → [FFOS][MSE] GonkMediaDataDecoder Throws a false alarm
Assignee | ||
Comment 2•11 years ago
|
||
Have an correct initial value for "rv" to avoid checking a garbage value when mDrainComplete is false.
Attachment #8545038 -
Flags: review?(ajones)
Comment 3•11 years ago
|
||
Comment on attachment 8545038 [details] [diff] [review]
Bug-1114928-Have-an-initial-value-for-Ouput-result.patch
Review of attachment 8545038 [details] [diff] [review]:
-----------------------------------------------------------------
You should configure hg (or git, or whatever) to give you 8 lines of context instead of the default 4.
::: dom/media/fmp4/gonk/GonkMediaDataDecoder.cpp
@@ +89,4 @@
> GonkMediaDataDecoder::ProcessOutput()
> {
> nsRefPtr<MediaData> output;
> + nsresult rv = NS_ERROR_ABORT;
I don't object to it, but I don't see how it helps.
Attachment #8545038 -
Flags: review?(ajones) → review+
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #3)
> Comment on attachment 8545038 [details] [diff] [review]
> Bug-1114928-Have-an-initial-value-for-Ouput-result.patch
>
> Review of attachment 8545038 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> You should configure hg (or git, or whatever) to give you 8 lines of context
> instead of the default 4.
>
> ::: dom/media/fmp4/gonk/GonkMediaDataDecoder.cpp
> @@ +89,4 @@
> > GonkMediaDataDecoder::ProcessOutput()
> > {
> > nsRefPtr<MediaData> output;
> > + nsresult rv = NS_ERROR_ABORT;
>
> I don't object to it, but I don't see how it helps.
"rv" will be only assigned value @[1]. If the while loop is not entered, rv will carry a garbage value which will be checked incorrectly in the codes behind the while loop and throws a false alarm.
[1]http://dxr.mozilla.org/mozilla-central/source/dom/media/fmp4/gonk/GonkMediaDataDecoder.cpp?from=GonkMediaDataDecoder.cpp&case=true#94
Assignee | ||
Comment 5•11 years ago
|
||
Carry r+ from ajones.
Attachment #8545038 -
Attachment is obsolete: true
Attachment #8545183 -
Flags: review+
Assignee | ||
Comment 6•11 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fbebc7fe3e93
Building results on try server are good enough. No need to run test cases due to pref off.
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•