summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c4
-rw-r--r--options/options.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 42ca0846d9..82b81b049d 100644
--- a/options/options.c
+++ b/options/options.c
@@ -635,6 +635,7 @@ const m_option_t mp_opts[] = {
OPT_FLAG("oneverdrop", encode_output.neverdrop, CONF_GLOBAL),
OPT_FLAG("ovfirst", encode_output.video_first, CONF_GLOBAL),
OPT_FLAG("oafirst", encode_output.audio_first, CONF_GLOBAL),
+ OPT_FLAG("ometadata", encode_output.metadata, CONF_GLOBAL),
#endif
{NULL, NULL, 0, 0, 0, 0, NULL}
@@ -766,6 +767,9 @@ const struct MPOpts mp_default_opts = {
#endif
.default_bindings = 1,
},
+ .encode_output = {
+ .metadata = 1,
+ },
};
#endif /* MPLAYER_CFG_MPLAYER_H */
diff --git a/options/options.h b/options/options.h
index 3b9ddeedc7..3572789c5a 100644
--- a/options/options.h
+++ b/options/options.h
@@ -302,6 +302,7 @@ typedef struct MPOpts {
int neverdrop;
int video_first;
int audio_first;
+ int metadata;
} encode_output;
} MPOpts;