[vlc-commits] input: probe stream filters in stream_AccessNew()
Rémi Denis-Courmont
git at videolan.org
Sun Jul 23 07:56:01 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 8 13:13:32 2017 +0300| [12dee8802ababc5502c1cccd847d3bbadeddaa34] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=12dee8802ababc5502c1cccd847d3bbadeddaa34
---
src/input/access.c | 2 +-
src/input/input.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/input/access.c b/src/input/access.c
index 7fca5cff17..ec40d42a2f 100644
--- a/src/input/access.c
+++ b/src/input/access.c
@@ -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)
diff --git a/src/input/input.c b/src/input/input.c
index fe9a9767fc..b6bde6f942 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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 );
More information about the vlc-commits
mailing list