Mercurial > mplayer.hg
comparison cfg-mencoder.h @ 7145:3854945aefbb
new mencoder option -info, to store copyright, title, encoder version etc in AVI
based on patch by "Andriy N. Gritsenko" <andrej@lucky.net>
author | arpi |
---|---|
date | Thu, 29 Aug 2002 20:50:49 +0000 |
parents | 60374fa581fc |
children | c65cb0d256c3 |
comparison
equal
deleted
inserted
replaced
7144:4f912998013e | 7145:3854945aefbb |
---|---|
91 #endif | 91 #endif |
92 "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | 92 "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, |
93 {NULL, NULL, 0, 0, 0, 0, NULL} | 93 {NULL, NULL, 0, 0, 0, 0, NULL} |
94 }; | 94 }; |
95 | 95 |
96 struct config info_conf[]={ | |
97 {"name", &info_name, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
98 {"artist", &info_artist, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
99 {"genre", &info_genre, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
100 {"subject", &info_subject, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
101 {"copyright", &info_copyright, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
102 {"srcform", &info_sourceform, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
103 {"comment", &info_comment, CONF_TYPE_STRING, 0, 0, 0, NULL}, | |
104 {"help", "\nAvailable INFO fields:\n" | |
105 " name - title of the subject of the file\n" | |
106 " artist - artist or author of the original subject of the file\n" | |
107 " genre - original work category\n" | |
108 " subject - contents of the file\n" | |
109 " copyright - copyright information for the file\n" | |
110 " srcform - original form of the material that was digitized\n" | |
111 " comment - general comments about the file or the subject of the file\n" | |
112 "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | |
113 {NULL, NULL, 0, 0, 0, 0, NULL} | |
114 }; | |
115 | |
96 static config_t mencoder_opts[]={ | 116 static config_t mencoder_opts[]={ |
97 /* name, pointer, type, flags, min, max */ | 117 /* name, pointer, type, flags, min, max */ |
98 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this must be the first!!! */ | 118 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this must be the first!!! */ |
99 | 119 |
100 {"endpos", parse_end_at, CONF_TYPE_FUNC_PARAM, 0, 0, 0, NULL}, | 120 {"endpos", parse_end_at, CONF_TYPE_FUNC_PARAM, 0, 0, 0, NULL}, |
128 | 148 |
129 {"vobsubout", &vobsub_out, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 149 {"vobsubout", &vobsub_out, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
130 {"vobsuboutindex", &vobsub_out_index, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, | 150 {"vobsuboutindex", &vobsub_out_index, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, |
131 {"vobsuboutid", &vobsub_out_id, CONF_TYPE_STRING, 0, 0, 0, NULL}, | 151 {"vobsuboutid", &vobsub_out_id, CONF_TYPE_STRING, 0, 0, 0, NULL}, |
132 | 152 |
153 // info header strings | |
154 {"info", info_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | |
155 | |
133 #ifdef HAVE_DIVX4ENCORE | 156 #ifdef HAVE_DIVX4ENCORE |
134 {"divx4opts", divx4opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | 157 {"divx4opts", divx4opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, |
135 #endif | 158 #endif |
136 #ifdef HAVE_MP3LAME | 159 #ifdef HAVE_MP3LAME |
137 {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | 160 {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, |