[PATCH v3 3/3] qedit/samplegrabber: Fix a typo in format type negotiation.

Zebediah Figura z.figura12 at gmail.com
Sun Dec 15 18:21:16 CST 2019


Fixes a regression introduced by 2c8e152ff06ae3e460276401b4b6bdaa1ffc676d.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 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 87e30c5608b..edb814468a3 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)
-- 
2.24.0




More information about the wine-devel mailing list