summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c8
-rw-r--r--options/options.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 1eb687d1b2..8393971456 100644
--- a/options/options.c
+++ b/options/options.c
@@ -213,6 +213,8 @@ const m_option_t mp_opts[] = {
OPT_CHOICE("hls-bitrate", hls_bitrate, M_OPT_FIXED,
({"no", 0}, {"min", 1}, {"max", 2})),
+ OPT_STRINGLIST("display-tags*", display_tags, 0),
+
#if HAVE_CDDA
OPT_SUBSTRUCT("cdda", stream_cdda_opts, stream_cdda_conf, 0),
OPT_STRING("cdrom-device", cdrom_device, M_OPT_FILE),
@@ -778,6 +780,12 @@ const struct MPOpts mp_default_opts = {
.dvd_angle = 1,
.mf_fps = 1.0,
+
+ .display_tags = (char **)(const char*[]){
+ "artist", "album", "album_artist", "comment", "composer", "genre",
+ "performer", "title", "track", "icy-title",
+ NULL
+ },
};
#endif /* MPLAYER_CFG_MPLAYER_H */
diff --git a/options/options.h b/options/options.h
index 21f7c100e6..5e24a20d1d 100644
--- a/options/options.h
+++ b/options/options.h
@@ -180,6 +180,7 @@ typedef struct MPOpts {
char **audio_lang;
char **sub_lang;
int audio_display;
+ char **display_tags;
int sub_visibility;
int sub_pos;
float sub_delay;