Commit a7017516 authored by Laurent Aimar's avatar Laurent Aimar

* VlcWrapper: don't use input_ChangeArea.

parent ec815603
...@@ -856,12 +856,7 @@ void VlcWrapper::ToggleTitle(int i_title) ...@@ -856,12 +856,7 @@ void VlcWrapper::ToggleTitle(int i_title)
{ {
if( p_input != NULL ) if( p_input != NULL )
{ {
input_ChangeArea( p_input, var_SetInteger( p_input, "title", i_title );
p_input->stream.pp_areas[i_title] );
vlc_mutex_lock( &p_input->stream.stream_lock );
vlc_mutex_unlock( &p_input->stream.stream_lock );
} }
} }
...@@ -945,12 +940,7 @@ void VlcWrapper::ToggleChapter(int i_chapter) ...@@ -945,12 +940,7 @@ void VlcWrapper::ToggleChapter(int i_chapter)
{ {
if( p_input != NULL ) if( p_input != NULL )
{ {
p_input->stream.p_selected_area->i_part = i_chapter; var_SetInteger( p_input, "chapter", i_chapter );
input_ChangeArea( p_input,
p_input->stream.p_selected_area );
vlc_mutex_lock( &p_input->stream.stream_lock );
vlc_mutex_unlock( &p_input->stream.stream_lock );
} }
} }
......
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