[vlc-devel] [PATCH] [RFC] input: remove unused "input-fast-seek" option

Steve Lhomme robux4 at videolabs.io
Fri Oct 30 15:35:08 CET 2015


--
replaces https://patches.videolan.org/patch/10613/
---
 src/input/input.c          | 1 -
 src/input/input_internal.h | 1 -
 src/libvlc-module.c        | 7 -------
 3 files changed, 9 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 275820c..1f76ef0 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 0020144..039d305 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -98,7 +98,6 @@ struct input_thread_private_t
     int64_t     i_stop;     /* :stop-time, 0 if none */
     int64_t     i_run;      /* :run-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/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.2



More information about the vlc-devel mailing list