Closed
Bug 1054144
Opened 11 years ago
Closed 11 years ago
Add support for 'tfdt' in MP4 parser
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: ajones, Assigned: ajones)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
5.11 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
The stagefright MP4 parser ignores the MSE specific 'tfdt' box which contains baseMediaDecodeTime. This box gives a way to specify fragment start time.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8473486 -
Flags: review?(edwin)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ajones
Status: NEW → ASSIGNED
Comment on attachment 8473486 [details] [diff] [review]
Support 'tfdt' in MP4 parser
Review of attachment 8473486 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp
@@ +113,5 @@
> status_t parseSampleAuxiliaryInformationOffsets(off64_t offset, off64_t size);
>
> + struct TrackFragmentData {
> + uint32_t mFlags;
> + uint64_t mBaseMediaDecodeTime;
4 space indent in this file.
@@ +115,5 @@
> + struct TrackFragmentData {
> + uint32_t mFlags;
> + uint64_t mBaseMediaDecodeTime;
> + };
> + TrackFragmentData mTrackFragmentData;
Initialise in ctor.
Attachment #8473486 -
Flags: review?(edwin) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Made it behave better when tfdt isn't present
Attachment #8474283 -
Flags: review?(edwin)
Assignee | ||
Updated•11 years ago
|
Attachment #8473486 -
Attachment is obsolete: true
Comment on attachment 8474283 [details] [diff] [review]
Support 'tfdt' in MP4 parser
Review of attachment 8474283 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/libstagefright/frameworks/av/media/libstagefright/MPEG4Extractor.cpp
@@ +3501,5 @@
>
> mCurrentMoofOffset = nextMoof;
> mCurrentSamples.clear();
> mCurrentSampleIndex = 0;
> + mTrackFragmentData.mPresent = false;;
While I can appreciate wanting to be extra sure that this statement is punctuated, I think the one semicolon will suffice.
Attachment #8474283 -
Flags: review?(edwin) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•