[vlc-commits] Qt: basic fix to black screen on fullscreen and maximized
Benoit du Payrat
git at videolan.org
Mon Jul 4 19:31:09 CEST 2016
vlc | branch: master | Benoit du Payrat <benoit at videolabs.io> | Mon Jun 13 17:01:12 2016 +0200| [7b82f269219b660bb453d7a5dc916e18c12fdf08] | 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=7b82f269219b660bb453d7a5dc916e18c12fdf08
---
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