[vlc-commits] directdraw: DDOVER_DDFX needs to be set when setting a DDOVERLAYFX
Steve Lhomme
git at videolan.org
Thu May 26 18:35:31 CEST 2016
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu May 26 18:16:00 2016 +0200| [5ce0c13384add9c9d43fb771a7c8a78ac4ab6ab2] | committer: Jean-Baptiste Kempf
directdraw: DDOVER_DDFX needs to be set when setting a DDOVERLAYFX
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ce0c13384add9c9d43fb771a7c8a78ac4ab6ab2
---
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) {
More information about the vlc-commits
mailing list