Commit 12dee880 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: probe stream filters in stream_AccessNew()

This probes stream filters not only for the input thread stream (as
before), but also for custom vlc_stream_NewURL() callers.
parent 9051ab01
......@@ -319,7 +319,7 @@ stream_t *stream_AccessNew(vlc_object_t *parent, input_thread_t *input,
if (cachename != NULL)
s = stream_FilterChainNew(s, cachename);
return s;
return stream_FilterAutoNew(s);
static int compar_type(input_item_t *p1, input_item_t *p2)
......@@ -2332,8 +2332,6 @@ static demux_t *InputDemuxNew( input_thread_t *p_input, input_source_t *p_source
if( p_stream == NULL )
goto error;
p_stream = stream_FilterAutoNew( p_stream );
/* attach explicit stream filters to stream */
if( psz_filters )
p_stream = stream_FilterChainNew( p_stream, psz_filters );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment