[vlc-commits] input: remove unused "navigation" variable

Rémi Denis-Courmont git at videolan.org
Sat May 23 10:29:10 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 23 11:06:07 2015 +0300| [5036683edaa0d6377ecb64e6192b17e1ca35dbf1] | committer: Rémi Denis-Courmont

input: remove unused "navigation" variable

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

 src/input/var.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/input/var.c b/src/input/var.c
index e7d56c4..6aaa3f7 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -180,11 +180,6 @@ void input_ControlVarInit ( input_thread_t *p_input )
     text.psz_string = _("Chapter");
     var_Change( p_input, "chapter", VLC_VAR_SETTEXT, &text, NULL );
 
-    /* Navigation The callback is added after */
-    var_Create( p_input, "navigation", VLC_VAR_VARIABLE | VLC_VAR_HASCHOICE );
-    text.psz_string = _("Navigation");
-    var_Change( p_input, "navigation", VLC_VAR_SETTEXT, &text, NULL );
-
     /* Delay */
     var_Create( p_input, "audio-delay", VLC_VAR_INTEGER );
     var_SetInteger( p_input, "audio-delay",
@@ -318,7 +313,6 @@ void input_ControlVarNavigation( input_thread_t *p_input )
                           p_input->p->title[i]->psz_name, psz_length ) == -1 )
                 continue;
         }
-        var_Change( p_input, "navigation", VLC_VAR_ADDCHOICE, &val, &text );
 
         /* Add title choice */
         val2.i_int = i;



More information about the vlc-commits mailing list