[vlc-commits] input/var: more descriptive names for title/seekpoint callbacks

Filip Roséen git at videolan.org
Mon Jul 18 06:24:30 CEST 2016


vlc | branch: master | Filip Roséen <filip at videolabs.io> | Sat Jul 16 22:38:25 2016 +0200| [c2bd89187fbc2ee116715d7a08e0e9e225d5cf5d] | committer: Jean-Baptiste Kempf

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

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2bd89187fbc2ee116715d7a08e0e9e225d5cf5d
---

 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++ )
         {



More information about the vlc-commits mailing list