Commit 1bbd0eb5 authored by Romain Vimont's avatar Romain Vimont Committed by Hugo Beauzée-Luyssen

qt: initialize FSC fullscreen state from the vout

The playlist and vout "fullscreen" variables may contain different
values, e.g. when fullscreen is toggled during vout creation.

On vout list changes, initialize the FSC fullscreen state from the vout,
so that the FSC state is consistent with the video state.

Fixes #19697
Signed-off-by: Hugo Beauzée-Luyssen's avatarHugo Beauzée-Luyssen <>
parent a8ed2d9f
......@@ -1210,7 +1210,7 @@ void FullscreenControllerWidget::setVoutList( vout_thread_t **pp_vout, int i_vou
var_AddCallback( p_vout, "fullscreen",
FullscreenControllerWidget::FullscreenChanged, this );
/* I miss a add and fire */
emit fullscreenChanged( p_vout, var_InheritBool( THEPL, "fullscreen" ),
emit fullscreenChanged( p_vout, var_InheritBool( p_vout, "fullscreen" ),
var_GetInteger( p_vout, "mouse-hide-timeout" ) );
vlc_mutex_unlock( &lock );
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