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

Steve Lhomme robux4 at videolabs.io
Fri Oct 30 15:33:28 CET 2015


On Fri, Oct 30, 2015 at 3:26 PM, Steve Lhomme <robux4 at videolabs.io> wrote:
> ---
>  src/input/input.c          | 1 -
>  src/input/input_internal.h | 1 -
>  src/libvlc-module.c        | 6 ------
>  3 files changed, 8 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..194e277 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)." )
> @@ -1700,8 +1696,6 @@ vlc_module_begin ()
>      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 )

Oops, ignore this...

>      add_string( "input-list", NULL,
>                   INPUT_LIST_TEXT, INPUT_LIST_LONGTEXT, true )
> --
> 2.6.2
>


More information about the vlc-devel mailing list