quartz: Recognize MPEG2 program streams.

Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Müller 2016-04-28 21:57:00 +02:00 committed by Alexandre Julliard
parent b28a8a3157
commit f5754b3d9a
2 changed files with 11 additions and 0 deletions

View File

@ -818,6 +818,11 @@ static struct regsvr_mediatype_parsing const mediatype_parsing_list[] = {
"0, 10, FFFFFF00000080808080, 494433000000000000",
NULL }
},
{ &MEDIATYPE_Stream,
&MEDIASUBTYPE_MPEG2_PROGRAM,
{ "0, 5, FFFFFFFFC0, 000001BA40",
NULL }
},
{ &MEDIATYPE_Stream,
&MEDIASUBTYPE_QTMovie,
{ "4, 4, , 6d646174",

View File

@ -205,6 +205,12 @@ static void test_filesourcefilter(void)
2,
&MEDIASUBTYPE_MPEG1Audio,
},
{
"MPEG2 Program",
"\x00\x00\x01\xBA\x40",
5,
&MEDIASUBTYPE_MPEG2_PROGRAM,
},
{
"WAVE",
"\x52\x49\x46\x46xxxx\x57\x41\x56\x45",