[vlc-devel] [PATCH 3/4] directdraw: DDOVER_DDFX needs to be set when setting a DDOVERLAYFX

Steve Lhomme robux4 at videolabs.io
Thu May 26 18:16:00 CEST 2016


---
 modules/video_output/win32/directdraw.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/win32/directdraw.c b/modules/video_output/win32/directdraw.c
index 855de57..6e4d262 100644
--- a/modules/video_output/win32/directdraw.c
+++ b/modules/video_output/win32/directdraw.c
@@ -1344,7 +1344,8 @@ static int DirectXUpdateOverlay(vout_display_t *vd, LPDIRECTDRAWSURFACE2 surface
 
     HRESULT hr = IDirectDrawSurface2_UpdateOverlay(surface,
                                                    &src, sys->display, &dst,
-                                                   DDOVER_SHOW | DDOVER_KEYDESTOVERRIDE, &ddofx);
+                                                   DDOVER_SHOW | DDOVER_KEYDESTOVERRIDE | DDOVER_DDFX,
+                                                   &ddofx);
     sys->restore_overlay = hr != DD_OK;
 
     if (hr != DD_OK) {
-- 
2.8.1



More information about the vlc-devel mailing list