[vlc-devel] [PATCH 1/4] input/var: more descriptive names for title/seekpoint callbacks

Filip Roséen filip at videolabs.io
Sat Jul 16 22:38:25 CEST 2016


---
 src/input/var.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/input/var.c b/src/input/var.c
index f3eca1d..eb64cc7 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -107,7 +107,7 @@ static const vlc_input_callback_t p_input_callbacks[] =
 
     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( "prev-title", TitleCallback ),
@@ -116,7 +116,7 @@ static const vlc_input_callback_t p_input_navigation_callbacks[] =
 
     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( "prev-chapter", SeekpointCallback ),
@@ -232,8 +232,8 @@ void input_ControlVarStop( input_thread_t *p_input )
 
     if( p_input->p->i_title > 0 )
     {
-        InputDelCallbacks( p_input, p_input_navigation_callbacks );
-        InputDelCallbacks( p_input, p_input_title_callbacks );
+        InputDelCallbacks( p_input, p_input_title_navigation_callbacks );
+        InputDelCallbacks( p_input, p_input_seekpoint_navigation_callbacks );
 
         for( int i = 0; i < p_input->p->i_title; i++ )
         {
-- 
2.9.0



More information about the vlc-devel mailing list