[vlc-devel] [PATCH 12/21] input/stream: stream-fragments: copy fragment state in vlc_stream_FilterNew

Filip Roséen filip at atch.se
Sun Jul 31 22:42:21 CEST 2016


---
 src/input/stream_filter.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/input/stream_filter.c b/src/input/stream_filter.c
index a457306..6d7daaf 100644
--- a/src/input/stream_filter.c
+++ b/src/input/stream_filter.c
@@ -56,6 +56,9 @@ stream_t *vlc_stream_FilterNew( stream_t *p_source,
     }
     s->p_source = p_source;
 
+    if( stream_CopyFragmentState( s, p_source ) )
+        goto error;
+
     /* */
     s->p_module = module_need( s, "stream_filter", psz_stream_filter, true );
     if( s->p_module == NULL )
-- 
2.9.2



More information about the vlc-devel mailing list