[vlc-commits] vout: win32: fix windowless mode handling
Steve Lhomme
git at videolan.org
Wed Nov 28 10:17:48 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Nov 28 09:20:39 2018 +0100| [7dffe3568c9fe2a780933fb54f5e3f1f111959b9] | committer: Steve Lhomme
vout: win32: fix windowless mode handling
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7dffe3568c9fe2a780933fb54f5e3f1f111959b9
---
modules/video_output/win32/common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index faec2600a3..1ad7eab806 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -95,6 +95,8 @@ int CommonInit(vout_display_t *vd, bool b_windowless, const vout_display_cfg_t *
var_Create(vd, "disable-screensaver", VLC_VAR_BOOL | VLC_VAR_DOINHERIT);
+ sys->vdcfg = *vdcfg;
+
if (b_windowless)
return VLC_SUCCESS;
@@ -117,7 +119,6 @@ int CommonInit(vout_display_t *vd, bool b_windowless, const vout_display_cfg_t *
cfg.y = var_InheritInteger(vd, "video-y");
cfg.width = vdcfg->display.width;
cfg.height = vdcfg->display.height;
- sys->vdcfg = *vdcfg;
event_hwnd_t hwnd;
if (EventThreadStart(sys->event, &hwnd, &cfg))
More information about the vlc-commits
mailing list