Commit c2bd8918 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

input/var: more descriptive names for title/seekpoint callbacks

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 05b132ca
...@@ -107,7 +107,7 @@ static const vlc_input_callback_t p_input_callbacks[] = ...@@ -107,7 +107,7 @@ static const vlc_input_callback_t p_input_callbacks[] =
CALLBACK( NULL, NULL ) CALLBACK( NULL, NULL )
}; };
static const vlc_input_callback_t p_input_navigation_callbacks[] = static const vlc_input_callback_t p_input_title_navigation_callbacks[] =
{ {
CALLBACK( "next-title", TitleCallback ), CALLBACK( "next-title", TitleCallback ),
CALLBACK( "prev-title", TitleCallback ), CALLBACK( "prev-title", TitleCallback ),
...@@ -116,7 +116,7 @@ static const vlc_input_callback_t p_input_navigation_callbacks[] = ...@@ -116,7 +116,7 @@ static const vlc_input_callback_t p_input_navigation_callbacks[] =
CALLBACK( NULL, NULL ) CALLBACK( NULL, NULL )
}; };
static const vlc_input_callback_t p_input_title_callbacks[] = static const vlc_input_callback_t p_input_seekpoint_navigation_callbacks[] =
{ {
CALLBACK( "next-chapter", SeekpointCallback ), CALLBACK( "next-chapter", SeekpointCallback ),
CALLBACK( "prev-chapter", SeekpointCallback ), CALLBACK( "prev-chapter", SeekpointCallback ),
...@@ -232,8 +232,8 @@ void input_ControlVarStop( input_thread_t *p_input ) ...@@ -232,8 +232,8 @@ void input_ControlVarStop( input_thread_t *p_input )
if( p_input->p->i_title > 0 ) if( p_input->p->i_title > 0 )
{ {
InputDelCallbacks( p_input, p_input_navigation_callbacks ); InputDelCallbacks( p_input, p_input_title_navigation_callbacks );
InputDelCallbacks( p_input, p_input_title_callbacks ); InputDelCallbacks( p_input, p_input_seekpoint_navigation_callbacks );
for( int i = 0; i < p_input->p->i_title; i++ ) for( int i = 0; i < p_input->p->i_title; i++ )
{ {
......
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