quartz/vmr9: Allow connecting with YUV formats.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4eb58312d6
commit
339dbc586a
|
@ -696,7 +696,7 @@ static void test_media_types(void)
|
|||
VIDEOINFOHEADER vih =
|
||||
{
|
||||
{0}, {0}, 0, 0, 0,
|
||||
{sizeof(BITMAPINFOHEADER), 32, 24, 1, 0, BI_RGB}
|
||||
{sizeof(BITMAPINFOHEADER), 32, 24, 1, 0, 0xdeadbeef}
|
||||
};
|
||||
IEnumMediaTypes *enummt;
|
||||
unsigned int i;
|
||||
|
|
|
@ -338,8 +338,6 @@ static HRESULT WINAPI VMR9_CheckMediaType(struct strmbase_renderer *iface, const
|
|||
&& !IsEqualGUID(&mt->formattype, &FORMAT_VideoInfo2))
|
||||
return S_FALSE;
|
||||
|
||||
if (get_bitmap_header(mt)->biCompression != BI_RGB)
|
||||
return S_FALSE;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue