From f85de9e6d6d2785b0a40af052d245e07e2ae14c5 Mon Sep 17 00:00:00 2001 From: Ben Kerman Date: Wed, 28 Oct 2020 01:45:30 +0100 Subject: command: make subtitle time properties observable --- player/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/player/command.c b/player/command.c index b098c645a3..c26a0a95c2 100644 --- a/player/command.c +++ b/player/command.c @@ -3682,7 +3682,8 @@ static const char *const *const mp_event_property_change[] = { "vo-delayed-frame-count", "mistimed-frame-count", "vsync-ratio", "estimated-display-fps", "vsync-jitter", "sub-text", "audio-bitrate", "video-bitrate", "sub-bitrate", "decoder-frame-drop-count", - "frame-drop-count", "video-frame-info", "vf-metadata", "af-metadata"), + "frame-drop-count", "video-frame-info", "vf-metadata", "af-metadata", + "sub-start", "sub-end"), E(MP_EVENT_DURATION_UPDATE, "duration"), E(MPV_EVENT_VIDEO_RECONFIG, "video-out-params", "video-params", "video-format", "video-codec", "video-bitrate", "dwidth", "dheight", -- cgit v1.2.3