[vlc-commits] qt: initialize FSC fullscreen state from the vout

Romain Vimont git at videolan.org
Mon Apr 30 11:50:06 CEST 2018


vlc | branch: master | Romain Vimont <rom1v at 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 <hugo at 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 );
     }



More information about the vlc-commits mailing list