[vlc-devel] commit: Also use the input name in the recording file name. ( Most medias don't NowPlaying meta data) (Antoine Cellerier )

git version control git at videolan.org
Wed Aug 27 02:10:40 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Wed Aug 27 02:11:33 2008 +0200| [fa724536e4a482f08e6c32a7dede730cddad91e1] | committer: Antoine Cellerier 

Also use the input name in the recording file name. (Most medias don't NowPlaying meta data)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa724536e4a482f08e6c32a7dede730cddad91e1
---

 src/input/input_internal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 1b8e335..69545ff 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -423,7 +423,7 @@ static inline void input_ChangeState( input_thread_t *p_input, int state )
 /* Helpers FIXME to export without input_ prefix */
 char *input_CreateFilename( vlc_object_t *p_obj, const char *psz_path, const char *psz_prefix, const char *psz_extension );
 
-#define INPUT_RECORD_PREFIX "vlc-record-%Y-%m-%d-%H:%M:%S-$p"
+#define INPUT_RECORD_PREFIX "vlc-record-%Y-%m-%d-%H:%M:%S-$ N-$ p"
 
 /* Access */
 




More information about the vlc-devel mailing list