Added path information in stream_t.
[vlc.git] / src / input / stream_filter.c
index be1ba02..99060f8 100644 (file)
@@ -43,6 +43,12 @@ stream_t *stream_FilterNew( stream_t *p_source,
         return NULL;
 
     /* */
         return NULL;
 
     /* */
+    s->psz_path = strdup( p_source->psz_path );
+    if( !s->psz_path )
+    {
+        stream_CommonDelete( s );
+        return NULL;
+    }
     s->p_source = p_source;
 
     /* */
     s->p_source = p_source;
 
     /* */