Commit dbe0d748 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Let teletext gui buttons do something.

parent 277e48de
...@@ -238,7 +238,9 @@ void InputManager::sectionMenu() ...@@ -238,7 +238,9 @@ void InputManager::sectionMenu()
void InputManager::telexGotoPage( int page ) void InputManager::telexGotoPage( int page )
{ {
//TODO // TODO: this has only sense when telx codec is available
if( hasInput() )
var_SetInteger( p_input->p_libvlc, "vbi-page", page );
} }
void InputManager::telexToggle( bool b_enabled ) void InputManager::telexToggle( bool b_enabled )
...@@ -248,7 +250,9 @@ void InputManager::telexToggle( bool b_enabled ) ...@@ -248,7 +250,9 @@ void InputManager::telexToggle( bool b_enabled )
void InputManager::telexSetTransparency( bool b_transp ) void InputManager::telexSetTransparency( bool b_transp )
{ {
//TODO // TODO: this has only sense when telx codec is available
if( hasInput() )
var_SetBool( p_input->p_libvlc, "vbi-opaque", b_transp );
} }
void InputManager::slower() void InputManager::slower()
......
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