]> git.sesse.net Git - vlc/commitdiff
record: signal new record file when done as a stream filter
authorErwan Tulou <erwan10@videolan.org>
Thu, 1 Apr 2010 17:07:53 +0000 (19:07 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sat, 3 Apr 2010 16:56:11 +0000 (18:56 +0200)
modules/stream_filter/record.c

index 432365621110a06eab9644795ec0b1225af4d4a1..9ce1c60bd90456b95db8cae56fce1a8d1d1ad3e2 100644 (file)
@@ -197,6 +197,10 @@ static int Start( stream_t *s, const char *psz_extension )
         free( psz_file );
         return VLC_EGENERIC;
     }
+
+    /* signal new record file */
+    var_SetString( s->p_libvlc, "record-file", psz_file );
+
     msg_Dbg( s, "Recording into %s", psz_file );
     free( psz_file );