summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorChristoph Heinrich <christoph.heinrich@student.tugraz.at>2023-11-13 22:20:56 +0100
committerDudemanguy <random342@airmail.cc>2023-11-15 14:57:32 +0000
commitcb89c7ef898e59e8e0f22f27c966666fe87c705b (patch)
treec12912963c0a47bb12be59cbc8d2176a24b85826 /player
parenta6fb9321ea137e01fb1a702a31d2c6b40b2509a3 (diff)
downloadmpv-cb89c7ef898e59e8e0f22f27c966666fe87c705b.tar.bz2
mpv-cb89c7ef898e59e8e0f22f27c966666fe87c705b.tar.xz
command: notify media-title on force-media-title change
Fixes #12887
Diffstat (limited to 'player')
-rw-r--r--player/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 937831107f..e928eeda34 100644
--- a/player/command.c
+++ b/player/command.c
@@ -6971,6 +6971,8 @@ void mp_option_change_callback(void *ctx, struct m_config_option *co, int flags,
if (co)
mp_notify_property(mpctx, co->name);
+ if (opt_ptr == &opts->media_title)
+ mp_notify(mpctx, MP_EVENT_METADATA_UPDATE, NULL);
if (self_update)
return;