Commit d28af5a1 authored by Laurent Aimar's avatar Laurent Aimar

Fixed Qt4 opaque state.

parent 1cb32fae
...@@ -468,6 +468,7 @@ void InputManager::UpdateTeletext() ...@@ -468,6 +468,7 @@ void InputManager::UpdateTeletext()
{ {
/* Then, find the current page */ /* Then, find the current page */
int i_page = 100; int i_page = 100;
bool b_transparent = false;
vlc_object_t *p_vbi = (vlc_object_t *) vlc_object_t *p_vbi = (vlc_object_t *)
vlc_object_find_name( p_input, "zvbi", FIND_ANYWHERE ); vlc_object_find_name( p_input, "zvbi", FIND_ANYWHERE );
...@@ -475,9 +476,12 @@ void InputManager::UpdateTeletext() ...@@ -475,9 +476,12 @@ void InputManager::UpdateTeletext()
if( p_vbi ) if( p_vbi )
{ {
i_page = var_GetInteger( p_vbi, "vbi-page" ); i_page = var_GetInteger( p_vbi, "vbi-page" );
b_transparent = !var_GetBool( p_vbi, "vbi-opaque" );
vlc_object_release( p_vbi ); vlc_object_release( p_vbi );
} }
emit newTelexPageSet( i_page ); emit newTelexPageSet( i_page );
emit teletextTransparencyActivated( b_transparent );
} }
emit teletextActivated( b_enabled && i_teletext_es >= 0 ); emit teletextActivated( b_enabled && i_teletext_es >= 0 );
} }
......
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