[vlc-commits] display: do not override the window size (refs #21108)

Rémi Denis-Courmont git at videolan.org
Sat Jan 26 19:50:56 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 26 14:43:48 2019 +0200| [30ab953390b2b5fe3cfcd2d037e7535ee03f2e5d] | committer: Rémi Denis-Courmont

display: do not override the window size (refs #21108)

This result in an incorrect size if zoom, A/R or crop was set.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=30ab953390b2b5fe3cfcd2d037e7535ee03f2e5d
---

 src/video_output/display.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index 667bf3678b..89ca87e3ae 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -777,9 +777,6 @@ vout_display_t *vout_display_New(vlc_object_t *parent,
     if (vd->module == NULL)
         goto error;
 
-    vout_window_SetSize(osys->cfg.window,
-                        osys->cfg.display.width, osys->cfg.display.height);
-
 #if defined(_WIN32) || defined(__OS2__)
     if ((var_GetBool(parent, "fullscreen")
       || var_GetBool(parent, "video-wallpaper"))



More information about the vlc-commits mailing list