[vlc-commits] qt: initialize FSC fullscreen state from the vout
Romain Vimont
git at videolan.org
Mon Apr 30 11:54:09 CEST 2018
vlc/vlc-3.0 | branch: master | Romain Vimont <rom1v at videolabs.io> | Wed Apr 18 14:38:30 2018 +0200| [26c5d398ffedad43f9266145ccb4b723abcecc50] | 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>
(cherry picked from commit 1bbd0eb5c03e489be59183e55af75282e14a17ae)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=26c5d398ffedad43f9266145ccb4b723abcecc50
---
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 07fbf0e28f..cb97d36510 100644
--- a/modules/gui/qt/components/controller.cpp
+++ b/modules/gui/qt/components/controller.cpp
@@ -1226,7 +1226,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