quartz/filesource: Don't check formattype in FileAsyncReaderPin_CheckMediaType().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7c6caa4873
commit
048474b15e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue