[vlc-devel] [PATCH 02/33] input: remove unused variable "input-fast-seek"

Steve Lhomme robux4 at videolabs.io
Wed Dec 23 12:58:21 CET 2015


---
 src/input/input.c          | 1 -
 src/input/input_internal.h | 1 -
 src/input/var.c            | 1 -
 src/libvlc-module.c        | 7 -------
 4 files changed, 10 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 976a4e3..327e651 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -906,7 +906,6 @@ static void StartTitle( input_thread_t * p_input )
         msg_Warn( p_input, "invalid stop-time ignored" );
         p_input->p->i_stop = 0;
     }
-    p_input->p->b_fast_seek = var_GetBool( p_input, "input-fast-seek" );
 }
 
 static void LoadSubtitles( input_thread_t *p_input )
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 249ef2e..a0faa80 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -97,7 +97,6 @@ struct input_thread_private_t
     int64_t     i_start;    /* :start-time,0 by default */
     int64_t     i_stop;     /* :stop-time, 0 if none */
     int64_t     i_time;     /* Current time */
-    bool        b_fast_seek;/* :input-fast-seek */
 
     /* Output */
     bool            b_out_pace_control; /* XXX Move it ot es_sout ? */
diff --git a/src/input/var.c b/src/input/var.c
index 025a798..5a47b11 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -453,7 +453,6 @@ void input_ConfigVarInit ( input_thread_t *p_input )
         var_Create( p_input, "start-time", VLC_VAR_FLOAT|VLC_VAR_DOINHERIT );
         var_Create( p_input, "stop-time", VLC_VAR_FLOAT|VLC_VAR_DOINHERIT );
         var_Create( p_input, "run-time", VLC_VAR_FLOAT|VLC_VAR_DOINHERIT );
-        var_Create( p_input, "input-fast-seek", VLC_VAR_BOOL|VLC_VAR_DOINHERIT );
 
         var_Create( p_input, "input-slave",
                     VLC_VAR_STRING | VLC_VAR_DOINHERIT );
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 3556c98..575e739 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -632,10 +632,6 @@ static const char *const ppsz_prefres[] = {
 #define RUN_TIME_LONGTEXT N_( \
     "The stream will run this duration (in seconds)." )
 
-#define INPUT_FAST_SEEK_TEXT N_("Fast seek")
-#define INPUT_FAST_SEEK_LONGTEXT N_( \
-    "Favor speed over precision while seeking" )
-
 #define INPUT_RATE_TEXT N_("Playback speed")
 #define INPUT_RATE_LONGTEXT N_( \
     "This defines the playback speed (nominal speed is 1.0)." )
@@ -1697,9 +1693,6 @@ vlc_module_begin ()
     add_float( "run-time", 0,
                RUN_TIME_TEXT, RUN_TIME_LONGTEXT, true )
         change_safe ()
-    add_bool( "input-fast-seek", false,
-              INPUT_FAST_SEEK_TEXT, INPUT_FAST_SEEK_LONGTEXT, false )
-        change_safe ()
     add_float( "rate", 1.,
                INPUT_RATE_TEXT, INPUT_RATE_LONGTEXT, false )
 
-- 
2.6.3



More information about the vlc-devel mailing list