Commit 7b82f269 authored by Benoit's avatar Benoit Committed by 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's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 8ce05607
......@@ -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 );
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment