Commit 048474b1 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz/filesource: Don't check formattype in FileAsyncReaderPin_CheckMediaType().

parent 7c6caa48
......@@ -756,11 +756,8 @@ static HRESULT WINAPI FileAsyncReaderPin_CheckMediaType(BasePin *pin, const AM_M
{
AM_MEDIA_TYPE *pmt_filter = impl_from_IBaseFilter(pin->pinInfo.pFilter)->pmt;
FIXME("(%p, %p)\n", pin, pmt);
if (IsEqualGUID(&pmt->majortype, &pmt_filter->majortype) &&
IsEqualGUID(&pmt->subtype, &pmt_filter->subtype) &&
IsEqualGUID(&pmt->formattype, &FORMAT_None))
IsEqualGUID(&pmt->subtype, &pmt_filter->subtype))
return S_OK;
return S_FALSE;
......
......@@ -283,7 +283,6 @@ todo_wine
mt.lSampleSize = 123;
mt.formattype = FORMAT_VideoInfo;
hr = IPin_QueryAccept(pin, &mt);
todo_wine
ok(hr == S_OK, "Got hr %#x.\n", hr);
mt.majortype = MEDIATYPE_Video;
......@@ -376,7 +375,6 @@ todo_wine
mt.lSampleSize = 456;
mt.formattype = FORMAT_VideoInfo;
hr = IPin_QueryAccept(pin, &mt);
todo_wine
ok(hr == S_OK, "Got hr %#x.\n", hr);
mt.majortype = MEDIATYPE_Stream;
......
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