vlc | branch: master | Romain Vimont <ro...@videolabs.io> | Wed Apr 18 14:38:30 
2018 +0200| [1bbd0eb5c03e489be59183e55af75282e14a17ae] | committer: 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 <h...@beauzee.fr>

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

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

diff --git a/modules/gui/qt/components/controller.cpp 
b/modules/gui/qt/components/controller.cpp
index e10b1e4208..5f2d1efa49 100644
--- a/modules/gui/qt/components/controller.cpp
+++ b/modules/gui/qt/components/controller.cpp
@@ -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 );
     }

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to