summaryrefslogtreecommitdiffstats
path: root/cfg-mencoder.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-29 20:50:49 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-29 20:50:49 +0000
commit39f2bf39d5f924328dc71dd7e2dd9f28c065ea0e (patch)
tree8c40ea9718687a21fc6d9ba5fa978a15febd90ab /cfg-mencoder.h
parent978bfc3003d393534a773737e0cde928da3823ca (diff)
downloadmpv-39f2bf39d5f924328dc71dd7e2dd9f28c065ea0e.tar.bz2
mpv-39f2bf39d5f924328dc71dd7e2dd9f28c065ea0e.tar.xz
new mencoder option -info, to store copyright, title, encoder version etc in AVI
based on patch by "Andriy N. Gritsenko" <andrej@lucky.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7146 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mencoder.h')
-rw-r--r--cfg-mencoder.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
index 4be9c00413..36319a05a4 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -93,6 +93,26 @@ struct config oac_conf[]={
{NULL, NULL, 0, 0, 0, 0, NULL}
};
+struct config info_conf[]={
+ {"name", &info_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"artist", &info_artist, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"genre", &info_genre, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"subject", &info_subject, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"copyright", &info_copyright, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"srcform", &info_sourceform, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"comment", &info_comment, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"help", "\nAvailable INFO fields:\n"
+ " name - title of the subject of the file\n"
+ " artist - artist or author of the original subject of the file\n"
+ " genre - original work category\n"
+ " subject - contents of the file\n"
+ " copyright - copyright information for the file\n"
+ " srcform - original form of the material that was digitized\n"
+ " comment - general comments about the file or the subject of the file\n"
+ "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+ {NULL, NULL, 0, 0, 0, 0, NULL}
+};
+
static config_t mencoder_opts[]={
/* name, pointer, type, flags, min, max */
{"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this must be the first!!! */
@@ -130,6 +150,9 @@ static config_t mencoder_opts[]={
{"vobsuboutindex", &vobsub_out_index, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
{"vobsuboutid", &vobsub_out_id, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ // info header strings
+ {"info", info_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
+
#ifdef HAVE_DIVX4ENCORE
{"divx4opts", divx4opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
#endif