From: Andrew Eikum Subject: Re: [3/4] quartz: Recognize MPEG2 program streams. (resend) Message-Id: <20160429140025.GA31257@foghorn.codeweavers.com> Date: Fri, 29 Apr 2016 09:00:25 -0500 In-Reply-To: References: Signed-off-by: Andrew Eikum On Thu, Apr 28, 2016 at 09:57:00PM +0200, Sebastian Lackner wrote: > From: Michael Müller > > Signed-off-by: Michael Müller > Signed-off-by: Sebastian Lackner > --- > > (Please remember to do a prefix update after applying this patch.) > > dlls/quartz/regsvr.c | 5 +++++ > dlls/quartz/tests/avisplitter.c | 6 ++++++ > 2 files changed, 11 insertions(+) > > diff --git a/dlls/quartz/regsvr.c b/dlls/quartz/regsvr.c > index b0f1e9a..196e064 100644 > --- a/dlls/quartz/regsvr.c > +++ b/dlls/quartz/regsvr.c > @@ -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", > diff --git a/dlls/quartz/tests/avisplitter.c b/dlls/quartz/tests/avisplitter.c > index dc6d5d3..5604f6d 100644 > --- a/dlls/quartz/tests/avisplitter.c > +++ b/dlls/quartz/tests/avisplitter.c > @@ -206,6 +206,12 @@ static void test_filesourcefilter(void) > &MEDIASUBTYPE_MPEG1Audio, > }, > { > + "MPEG2 Program", > + "\x00\x00\x01\xBA\x40", > + 5, > + &MEDIASUBTYPE_MPEG2_PROGRAM, > + }, > + { > "WAVE", > "\x52\x49\x46\x46xxxx\x57\x41\x56\x45", > 12, > -- > 2.8.0 > >