[Ffmpeg-cvslog] r6187 - trunk/ffmpeg.c

gpoirier subversion
Thu Sep 7 10:27:06 CEST 2006


Author: gpoirier
Date: Thu Sep  7 10:27:05 2006
New Revision: 6187

Modified:
   trunk/ffmpeg.c

Log:
adds support for setting that album tag.
Patch by takis P issaris A uhasselt P be
Original thread:
[PATCH] Allow setting album tag
Date: Sept 06 2006 16:39


Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Thu Sep  7 10:27:05 2006
@@ -193,6 +193,7 @@
 static char *str_author = NULL;
 static char *str_copyright = NULL;
 static char *str_comment = NULL;
+static char *str_album = NULL;
 static int do_benchmark = 0;
 static int do_hex_dump = 0;
 static int do_pkt_dump = 0;
@@ -3382,6 +3383,8 @@
             pstrcpy(oc->copyright, sizeof(oc->copyright), str_copyright);
         if (str_comment)
             pstrcpy(oc->comment, sizeof(oc->comment), str_comment);
+        if (str_album)
+            pstrcpy(oc->album, sizeof(oc->album), str_album);
     }
 
     output_files[nb_output_files++] = oc;
@@ -3979,6 +3982,7 @@
     { "author", HAS_ARG | OPT_STRING, {(void*)&str_author}, "set the author", "string" },
     { "copyright", HAS_ARG | OPT_STRING, {(void*)&str_copyright}, "set the copyright", "string" },
     { "comment", HAS_ARG | OPT_STRING, {(void*)&str_comment}, "set the comment", "string" },
+    { "album", HAS_ARG | OPT_STRING, {(void*)&str_album}, "set the album", "string" },
     { "benchmark", OPT_BOOL | OPT_EXPERT, {(void*)&do_benchmark},
       "add timings for benchmarking" },
     { "dump", OPT_BOOL | OPT_EXPERT, {(void*)&do_pkt_dump},




More information about the ffmpeg-cvslog mailing list