]> git.sesse.net Git - vlc/blobdiff - modules/stream_filter/record.c
stream_filter: dash: ensure chunks have hostname and fully chain build url
[vlc] / modules / stream_filter / record.c
index 8194dcc3d1133bbd70f8662a1aca04b47cd5e7dd..8bcef68c585c6ba05935b5e320c1d2ee83003b21 100644 (file)
@@ -91,6 +91,7 @@ static int Open ( vlc_object_t *p_this )
     s->pf_read = Read;
     s->pf_peek = Peek;
     s->pf_control = Control;
+    stream_FilterSetDefaultReadDir( s );
 
     return VLC_SUCCESS;
 }
@@ -184,7 +185,7 @@ static int Start( stream_t *s, const char *psz_extension )
 
     /* Create file name
      * TODO allow prefix configuration */
-    psz_file = input_CreateFilename( VLC_OBJECT(s), psz_path, INPUT_RECORD_PREFIX, psz_extension );
+    psz_file = input_CreateFilename( s->p_input, psz_path, INPUT_RECORD_PREFIX, psz_extension );
 
     free( psz_path );