Closed Bug 959861 Opened 11 years ago Closed 11 years ago

Play fragmented MP4 will assert.

Categories

(Core :: Audio/Video, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: ayang, Assigned: ayang)

References

Details

(Whiteboard: [ft:multimedia-platform][m+])

Attachments

(2 files, 1 obsolete file)

Please test page http://people.mozilla.org/~ayang/mp4/mp4.html. It asserts at [1] when plays second video. From https://bugzilla.mozilla.org/show_bug.cgi?id=956194#c5, MediaSeekable() needs to called in MediaOmxReader::ReadMetadata(). [1] http://dxr.mozilla.org/mozilla-central/source/content/media/MediaDecoderStateMachine.cpp#1953
Attached patch set_omx_seekable_flag (obsolete) — Splinter Review
I'll add testcase later in this bug.
Attachment #8360897 - Flags: review?(cpearce)
Comment on attachment 8360897 [details] [diff] [review] set_omx_seekable_flag Review of attachment 8360897 [details] [diff] [review]: ----------------------------------------------------------------- Looks fine to me, but Chris Double normally reviews OMX, so he should look over this.
Attachment #8360897 - Flags: review?(cpearce) → review?(chris.double)
Testcase probably enables only on b2g-emulator (it uses software h264/aac decoder in this case). Linux should be ok if tryserver has gstreamer libraries.
Just found that tryserver's Android version is GB which doesn't support fragmented mp4. We need to find other way for this test case.
Attachment #8360897 - Flags: review?(chris.double) → review+
Test case for this bug. It's enable only on B2G emulator with version >= 18 (JB). It could be workable on Linux Firefox if gstreamer is enable on tryserver.
Attachment #8362761 - Flags: review?(cpearce)
Comment on attachment 8362761 [details] [diff] [review] fragment_mp4_unseekable Review of attachment 8362761 [details] [diff] [review]: ----------------------------------------------------------------- For some reason your street.mp4 file isn't being added to my repo when I apply the patch, and it's not showing up in splinter review. The file is definitely in your patch. Very weird.
Attachment #8362761 - Flags: review?(cpearce) → review+
(In reply to Chris Pearce (:cpearce) from comment #6) > Comment on attachment 8362761 [details] [diff] [review] > fragment_mp4_unseekable > > Review of attachment 8362761 [details] [diff] [review]: > ----------------------------------------------------------------- > > For some reason your street.mp4 file isn't being added to my repo when I > apply the patch, and it's not showing up in splinter review. The file is > definitely in your patch. Very weird. I guess splinter is smart enough to skip binary patch. I've tried it on Linux and Mac, both are ok.
Updated reviewer in patch, carry r+.
Attachment #8360897 - Attachment is obsolete: true
Attachment #8362815 - Flags: review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Whiteboard: [ft:multimedia-platform]
Whiteboard: [ft:multimedia-platform] → [ft:multimedia-platform][m+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: