Closed
Bug 1133478
Opened 10 years ago
Closed 10 years ago
Playback of video never starts
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: jya, Assigned: jya)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
1.74 KB,
patch
|
ajones
:
review+
|
Details | Diff | Splinter Review |
http://media.junglecode.net/test/mse/
This video never start.
The cause for it is that the moof's atom contains in order:
tfhd
trun
tfdt
as the trun parsing relies on having found a tfdt first, ParseTrun fails.
We shouldn't rely of the atoms being in a specific order, instead we should delay parsing the trun until all depending atoms have been found.
Assignee | ||
Comment 1•10 years ago
|
||
Postpone parsing trun until we have all dependents.
Attachment #8564977 -
Flags: review?(ajones)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jyavenard
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
Comment on attachment 8564977 [details] [diff] [review]
Postpone parsing TRUN atom until we have all dependent atoms
Review of attachment 8564977 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/libstagefright/binding/MoofParser.cpp
@@ +304,5 @@
> tfdt = Tfdt(box);
> + if (trun.IsAvailable()) {
> + // We have a pending trun atom, process it now.
> + ParseTrun(trun, tfhd, tfdt, aMdhd, aEdts);
> + }
Suggestioin: It may make for simpler code to iterate twice over the boxes and look for the tfdt the first iteration. That would make it less stateful and probably easier to follow.
Attachment #8564977 -
Flags: review?(ajones) → review+
Updated•10 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Updated•10 years ago
|
Attachment #8564977 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8565152 -
Flags: review?(ajones) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 6•10 years ago
|
||
This isn't critical for youtube, so we don't need to uplift to 37 unless it becomes a dependency of a later change.
status-firefox37:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•