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

Zebediah Figura z.figura12 at gmail.com
Sun Dec 15 17:30:22 CST 2019


This 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 52bacc9b571..7652f70d958 100644
--- a/dlls/qedit/samplegrabber.c
+++ b/dlls/qedit/samplegrabber.c
@@ -591,7 +591,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