[vlc-commits] Qt: basic fix to black screen on fullscreen and maximized

BenoitDuPayrat git at videolan.org
Mon Jul 4 19:27:50 CEST 2016


vlc | branch: master | BenoitDuPayrat <benoit at videolabs.io> | Mon Jun 13 17:01:12 2016 +0200| [612bc07ff9cb94785efa2827ff9b95d353cb1c6a] | committer: Jean-Baptiste Kempf

Qt: basic fix to black screen on fullscreen and maximized

The checks on fullscreen and maximized prevented the video from being sized
when started directly in either of those modes.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt/main_interface.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index f30b10d..c9612df 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -740,7 +740,7 @@ void MainInterface::getVideoSlot( WId *p_id, struct vout_window_t *p_wnd,
         showVideo();
 
         /* Ask videoWidget to resize correctly, if we are in normal mode */
-        if( !isFullScreen() && !isMaximized() && b_autoresize )
+        if( b_autoresize )
             videoWidget->setSize( *pi_width, *pi_height );
     }
 }



More information about the vlc-commits mailing list