diff options
author | Guido Cella <guido@guidocella.xyz> | 2021-07-28 17:00:38 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-07-29 13:38:28 +0000 |
commit | 3f0e8bd506e3e3fc6eb9927f0b2d04b23e9105a2 (patch) | |
tree | 52f3cfaf94c8888c33462afd7fc57bbe97da14e0 /options | |
parent | 67ddffcc264e4d9af4dd93e82e5f997049ac49d1 (diff) | |
download | mpv-3f0e8bd506e3e3fc6eb9927f0b2d04b23e9105a2.tar.bz2 mpv-3f0e8bd506e3e3fc6eb9927f0b2d04b23e9105a2.tar.xz |
options: audio-display determines cover priority
Let audio-display determine whether embedded images or external cover
art tracks should be selected when both are present.
Attached pictures are given priority by default as requested in #8539.
Also updates references to attached pictures in the log and manpage to
refer to cover art as well.
Closes #8539.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c index 4ea23cc702..fac31a2bb9 100644 --- a/options/options.c +++ b/options/options.c @@ -508,7 +508,8 @@ static const m_option_t mp_opts[] = { {"lavfi-complex", OPT_STRING(lavfi_complex), .flags = UPDATE_LAVFI_COMPLEX}, - {"audio-display", OPT_CHOICE(audio_display, {"no", 0}, {"attachment", 1})}, + {"audio-display", OPT_CHOICE(audio_display, {"no", 0}, + {"embedded-first", 1}, {"external-first", 2})}, {"hls-bitrate", OPT_CHOICE(hls_bitrate, {"no", -1}, {"min", 0}, {"max", INT_MAX}), M_RANGE(0, INT_MAX)}, |