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

Zebediah Figura z.figura12 at gmail.com
Sun Dec 15 17:55:05 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 63b48533be6..b9c07ca8f2f 100644
--- a/dlls/qedit/samplegrabber.c
+++ b/dlls/qedit/samplegrabber.c
@@ -629,7 +629,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