mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1244523: [mp4] P4. Add gtest. r=kentuckyfriedtakahe
This commit is contained in:
parent
3c49e87858
commit
14f7b6cd7e
@ -427,7 +427,7 @@ TEST(MP4Demuxer, GetNextKeyframe)
|
||||
});
|
||||
}
|
||||
|
||||
TEST(MP4Demuxer, ZeroInMoov)
|
||||
TEST(MP4Demuxer, ZeroInLastMoov)
|
||||
{
|
||||
RefPtr<MP4DemuxerBinding> binding = new MP4DemuxerBinding("short-zero-in-moov.mp4");
|
||||
binding->RunTestAndWait([binding] () {
|
||||
@ -436,3 +436,12 @@ TEST(MP4Demuxer, ZeroInMoov)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
TEST(MP4Demuxer, ZeroInMoovQuickTime)
|
||||
{
|
||||
RefPtr<MP4DemuxerBinding> binding = new MP4DemuxerBinding("short-zero-inband.mov");
|
||||
binding->RunTestAndWait([binding] () {
|
||||
// It demuxes without error. That is sufficient.
|
||||
binding->mTaskQueue->BeginShutdown();
|
||||
});
|
||||
}
|
||||
|
@ -49,6 +49,7 @@ TEST_HARNESS_FILES.gtest += [
|
||||
'noise.mp3',
|
||||
'noise_vbr.mp3',
|
||||
'short-zero-in-moov.mp4',
|
||||
'short-zero-inband.mov',
|
||||
'small-shot.mp3',
|
||||
'test.webm',
|
||||
'test_case_1224361.vp8.ivf',
|
||||
|
BIN
dom/media/gtest/short-zero-inband.mov
Normal file
BIN
dom/media/gtest/short-zero-inband.mov
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user