mirror of
https://github.com/mpv-player/mpv
synced 2025-02-02 05:01:56 +00:00
command: make vf-metadata/af-metadata somewhat observable
Until now they weren't observable and never reported any updates. Apply a shitty hack to make them mostly-observable. It relies on the "idle" event, which is basically triggered on every frame displayed, or similar. This can lead to property change notifications not being sent quickly enough. The cleaner solution would be adding a notification mechanisms from filters, but I'm too lazy for that.
This commit is contained in:
parent
a05b847879
commit
da612acacd
@ -3621,7 +3621,7 @@ 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"),
|
||||
"frame-drop-count", "video-frame-info", "vf-metadata", "af-metadata"),
|
||||
E(MP_EVENT_DURATION_UPDATE, "duration"),
|
||||
E(MPV_EVENT_VIDEO_RECONFIG, "video-out-params", "video-params",
|
||||
"video-format", "video-codec", "video-bitrate", "dwidth", "dheight",
|
||||
|
Loading…
Reference in New Issue
Block a user