[PATCH 1/5] quartz/vmr9: Implement IVMRWindowlessControl::SetVideoClippingWindow().

Zebediah Figura z.figura12 at gmail.com
Sat May 25 15:21:21 CDT 2019


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47258
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/quartz/vmr9.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/quartz/vmr9.c b/dlls/quartz/vmr9.c
index 847dc40b04a..0178f36e635 100644
--- a/dlls/quartz/vmr9.c
+++ b/dlls/quartz/vmr9.c
@@ -1831,13 +1831,13 @@ static HRESULT WINAPI VMR7WindowlessControl_SetAspectRatioMode(IVMRWindowlessCon
     return E_NOTIMPL;
 }
 
-static HRESULT WINAPI VMR7WindowlessControl_SetVideoClippingWindow(IVMRWindowlessControl *iface,
-                                                                   HWND hwnd)
+static HRESULT WINAPI VMR7WindowlessControl_SetVideoClippingWindow(IVMRWindowlessControl *iface, HWND window)
 {
-    struct quartz_vmr *This = impl_from_IVMRWindowlessControl(iface);
+    struct quartz_vmr *filter = impl_from_IVMRWindowlessControl(iface);
 
-    FIXME("(%p/%p)->(...) stub\n", iface, This);
-    return E_NOTIMPL;
+    TRACE("iface %p, window %p.\n", iface, window);
+
+    return IVMRWindowlessControl9_SetVideoClippingWindow(&filter->IVMRWindowlessControl9_iface, window);
 }
 
 static HRESULT WINAPI VMR7WindowlessControl_RepaintVideo(IVMRWindowlessControl *iface,
-- 
2.21.0




More information about the wine-devel mailing list