aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-07 08:27:05 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2006-09-07 08:27:05 +0000
commit63d5075c5ca1531a93c7cdd10ce384d1539eff99 (patch)
tree206fb4ec1efb23402e7e8d290acc3a05f4680e3a /ffmpeg.c
parentf0861f466f6b65ec4fbe9ff551a9b8a6adaff1f0 (diff)
downloadffmpeg-63d5075c5ca1531a93c7cdd10ce384d1539eff99.tar.gz
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 Originally committed as revision 6187 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 6f4fcb2c14..bcee2b3bef 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -193,6 +193,7 @@ static char *str_title = NULL;
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 @@ static void opt_output_file(const char *filename)
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 @@ const OptionDef options[] = {
{ "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},