[vlc-devel] [RFC PATCH 6/7] input: preparsing not only for files

Rémi Denis-Courmont remi at remlab.net
Thu Jan 8 15:18:40 CET 2015


We don't want to preparse remote items. I think the reasons why are 
obvious: network traffic/performance, hardware resources (for capture 
devices), privacy, etc.

Le 2015-01-07 14:06, Thomas Guillem a écrit :
> ---
>  src/input/input.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/src/input/input.c b/src/input/input.c
> index aa5a835..48e085d 100644
> --- a/src/input/input.c
> +++ b/src/input/input.c
> @@ -2225,11 +2225,8 @@ static int InputSourceInit( input_thread_t 
> *p_input,
>      }
>      else
>      {
> -        /* Preparsing is only for file:// */
>          if( *psz_demux )
>              goto error;
> -        if( strcmp( psz_access, "file" ) )
> -            goto error;
>          msg_Dbg( p_input, "trying to pre-parse %s",  psz_path );
>      }

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list