]> git.sesse.net Git - vlc/commitdiff
core: add snapshot-file and record-file for signalling new materials created by vlc
authorErwan Tulou <erwan10@videolan.org>
Wed, 19 Aug 2009 18:58:07 +0000 (20:58 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sat, 29 Aug 2009 18:52:51 +0000 (20:52 +0200)
src/libvlc.c

index 9860d54527f44163524809bb26ed993ea62c6c2c..4b078a85716c0a80586cd824d1c71a0d0f276d05 100644 (file)
@@ -814,6 +814,10 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
                          p_keys );
     }
 
+    /* variables for signalling creation of new files */
+    var_Create( p_libvlc, "snapshot-file", VLC_VAR_STRING );
+    var_Create( p_libvlc, "record-file", VLC_VAR_STRING );
+
     /* Initialize playlist and get commandline files */
     p_playlist = playlist_Create( VLC_OBJECT(p_libvlc) );
     if( !p_playlist )