[vlc-devel] commit: Fixed Qt4 opaque state. (Laurent Aimar )
git version control
git at videolan.org
Sat Feb 14 00:53:08 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Feb 14 00:51:47 2009 +0100| [d28af5a151af923ac0511af3ea0f881d5e86c3e8] | committer: Laurent Aimar
Fixed Qt4 opaque state.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d28af5a151af923ac0511af3ea0f881d5e86c3e8
---
modules/gui/qt4/input_manager.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 301c5fb..981ba6f 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -468,6 +468,7 @@ void InputManager::UpdateTeletext()
{
/* Then, find the current page */
int i_page = 100;
+ bool b_transparent = false;
vlc_object_t *p_vbi = (vlc_object_t *)
vlc_object_find_name( p_input, "zvbi", FIND_ANYWHERE );
@@ -475,9 +476,12 @@ void InputManager::UpdateTeletext()
if( p_vbi )
{
i_page = var_GetInteger( p_vbi, "vbi-page" );
+ b_transparent = !var_GetBool( p_vbi, "vbi-opaque" );
vlc_object_release( p_vbi );
}
emit newTelexPageSet( i_page );
+ emit teletextTransparencyActivated( b_transparent );
+
}
emit teletextActivated( b_enabled && i_teletext_es >= 0 );
}
More information about the vlc-devel
mailing list