[vlc-commits] display: fix initial window size
Rémi Denis-Courmont
git at videolan.org
Sun Dec 30 18:49:07 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 30 19:37:41 2018 +0200| [b5240ce68c66365df393be8ac53a10dfeb15e744] | committer: Rémi Denis-Courmont
display: fix initial window size
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5240ce68c66365df393be8ac53a10dfeb15e744
---
src/video_output/display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index f3f2989e21..211cf1bda8 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -954,8 +954,8 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
if (vd->module == NULL)
goto error;
- vout_window_SetSize(cfg->window,
- cfg->display.width, cfg->display.height);
+ vout_window_SetSize(osys->cfg.window,
+ osys->cfg.display.width, osys->cfg.display.height);
} else {
video_format_Copy(&vd->fmt, &vd->source);
vd->module = NULL;
More information about the vlc-commits
mailing list