Closed Bug 1330243 Opened 8 years ago Closed 8 years ago

Update stagefright_MPEG4Metadata gtest for rust mp4 parser

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: ayang, Assigned: ayang)

References

Details

Attachments

(2 files)

test_case_1181213.mp4 is encrypted. Both rust parser and MP4Box can parse the pssh box but stagefright can't. It should be stagefright bug. We need to change the crypt to true in TestFileData table once rust parser is enabled.
Blocks: 1302027
Blocks: 1341221
(In reply to Alfredo Yang (:alfredo) from comment #0) > test_case_1181213.mp4 is encrypted. Both rust parser and MP4Box can parse > the pssh box but stagefright can't. > It should be stagefright bug. I think (guessing without actually debugging) that what's happening in stagefright is that once the issue in that test case is found, no further parsing happens, so it doesn't parse the pssh (or maybe doesn't save it, if it was parsed beforehand.) I'm guessing the rust parser may be able to recover, or has successfully saved the pssh. Also, since that file doesn't contain any valid tracks, it shouldn't matter if the pssh can't be read! So in the end, I'm not sure it's an actual bug that we'd want to fix. > We need to change the crypt to true in TestFileData table once rust parser > is enabled. Or maybe it could be updated so that the presence of encryption is not checked in this case? Please let me know if you'd like me to have a deeper look at what's actually happening.
(In reply to Gerald Squelart [:gerald] from comment #1) > (In reply to Alfredo Yang (:alfredo) from comment #0) > > Or maybe it could be updated so that the presence of encryption is not > checked in this case? Yes, that's my current plan. :-) > > > Please let me know if you'd like me to have a deeper look at what's actually > happening.
Summary: crypt is mismatch in gtest stagefright_MPEG4Metadata → Update stagefright_MPEG4Metadata gtest for rust mp4 parser
As comment 1, the test table needs to be updated when rust parser is enabled.
Assignee: nobody → ayang
Attachment #8851361 - Flags: review?(kinetik) → review+
Attachment #8851360 - Flags: review?(kinetik) → review+
Pushed by ayang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d539d11ebc9 add preference to enable rust mp4 parser. r=kinetik https://hg.mozilla.org/integration/autoland/rev/7ac8812719a1 update gtest for mp4 rust parser. r=kinetik
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: