qedit/samplegrabber: Fix a typo in format type negotiation.

Fixes a regression introduced by 2c8e152ff0.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Zebediah Figura 2019-12-15 18:21:16 -06:00 committed by Alexandre Julliard
parent 835631c3cc
commit 445f1a6929
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ static HRESULT WINAPI sample_grabber_source_AttemptConnection(struct strmbase_so
return VFW_E_TYPE_NOT_ACCEPTED;
if (!IsEqualGUID(&mt->formattype, &FORMAT_None)
&& !IsEqualGUID(&mt->formattype, &GUID_NULL)
&& !IsEqualGUID(&mt->formattype, &filter->mtype.majortype))
&& !IsEqualGUID(&mt->formattype, &filter->mtype.formattype))
return VFW_E_TYPE_NOT_ACCEPTED;
if (!IsEqualGUID(&mt->formattype, &FORMAT_None)
&& !IsEqualGUID(&mt->formattype, &GUID_NULL)