Zebediah Figura : qedit/samplegrabber: Fix a typo in format type negotiation.
Alexandre Julliard
julliard at winehq.org
Mon Dec 16 16:47:54 CST 2019
Module: wine
Branch: master
Commit: 445f1a69297fafa5242a1133fcc02c0b126e5e40
URL: https://source.winehq.org/git/wine.git/?a=commit;h=445f1a69297fafa5242a1133fcc02c0b126e5e40
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Sun Dec 15 18:21:16 2019 -0600
qedit/samplegrabber: Fix a typo in format type negotiation.
Fixes a regression introduced by 2c8e152ff06ae3e460276401b4b6bdaa1ffc676d.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/qedit/samplegrabber.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/qedit/samplegrabber.c b/dlls/qedit/samplegrabber.c
index 87e30c5608..edb814468a 100644
--- a/dlls/qedit/samplegrabber.c
+++ b/dlls/qedit/samplegrabber.c
@@ -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)
More information about the wine-cvs
mailing list