From 2b452ced743333e8a3ba4a1dc560b5912192d8d4 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Tue, 22 Jul 2008 04:13:44 -0700 Subject: [PATCH] quartz: Use correct media type in transformfilter's QueryAccept. --- dlls/quartz/transform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/quartz/transform.c b/dlls/quartz/transform.c index 5c090c09ce8..6ca4ce13fb6 100644 --- a/dlls/quartz/transform.c +++ b/dlls/quartz/transform.c @@ -65,7 +65,7 @@ static HRESULT TransformFilter_Input_QueryAccept(LPVOID iface, const AM_MEDIA_TY static HRESULT TransformFilter_Output_QueryAccept(LPVOID iface, const AM_MEDIA_TYPE * pmt) { TransformFilterImpl* pTransformFilter = (TransformFilterImpl*)iface; - AM_MEDIA_TYPE* outpmt = &((OutputPin*)pTransformFilter->ppPins[1])->pin.mtCurrent; + AM_MEDIA_TYPE* outpmt = &pTransformFilter->pmt; TRACE("%p\n", iface); if (IsEqualIID(&pmt->majortype, &outpmt->majortype) && IsEqualIID(&pmt->subtype, &outpmt->subtype))