[vlc-commits] commit: record: signal new record file when done as a stream filter ( Erwan Tulou )
git at videolan.org
git at videolan.org
Sat Apr 3 18:57:19 CEST 2010
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu Apr 1 19:07:53 2010 +0200| [3fade3ab722f92fe3d8c02baddeaedbebcbc710f] | committer: Erwan Tulou
record: signal new record file when done as a stream filter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3fade3ab722f92fe3d8c02baddeaedbebcbc710f
---
modules/stream_filter/record.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/stream_filter/record.c b/modules/stream_filter/record.c
index 4323656..9ce1c60 100644
--- a/modules/stream_filter/record.c
+++ b/modules/stream_filter/record.c
@@ -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 );
More information about the vlc-commits
mailing list