quartz/vmr9: Allow connecting with YUV formats.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
master
Zebediah Figura 2020-06-19 19:50:17 -05:00 committed by Alexandre Julliard
parent 4eb58312d6
commit 339dbc586a
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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;
}