Commit f5754b3d authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

quartz: Recognize MPEG2 program streams.

parent b28a8a31
...@@ -818,6 +818,11 @@ static struct regsvr_mediatype_parsing const mediatype_parsing_list[] = { ...@@ -818,6 +818,11 @@ static struct regsvr_mediatype_parsing const mediatype_parsing_list[] = {
"0, 10, FFFFFF00000080808080, 494433000000000000", "0, 10, FFFFFF00000080808080, 494433000000000000",
NULL } NULL }
}, },
{ &MEDIATYPE_Stream,
&MEDIASUBTYPE_MPEG2_PROGRAM,
{ "0, 5, FFFFFFFFC0, 000001BA40",
NULL }
},
{ &MEDIATYPE_Stream, { &MEDIATYPE_Stream,
&MEDIASUBTYPE_QTMovie, &MEDIASUBTYPE_QTMovie,
{ "4, 4, , 6d646174", { "4, 4, , 6d646174",
......
...@@ -206,6 +206,12 @@ static void test_filesourcefilter(void) ...@@ -206,6 +206,12 @@ static void test_filesourcefilter(void)
&MEDIASUBTYPE_MPEG1Audio, &MEDIASUBTYPE_MPEG1Audio,
}, },
{ {
"MPEG2 Program",
"\x00\x00\x01\xBA\x40",
5,
&MEDIASUBTYPE_MPEG2_PROGRAM,
},
{
"WAVE", "WAVE",
"\x52\x49\x46\x46xxxx\x57\x41\x56\x45", "\x52\x49\x46\x46xxxx\x57\x41\x56\x45",
12, 12,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment