summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/command.c6
-rw-r--r--player/playloop.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/player/command.c b/player/command.c
index bfdc823018..922734211c 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3443,12 +3443,12 @@ static const char *const *const mp_event_property_change[] = {
"width", "height", "fps", "aspect", "vo-configured"),
E(MPV_EVENT_AUDIO_RECONFIG, "audio-format", "audio-codec", "audio-bitrate",
"samplerate", "channels", "audio"),
- E(MPV_EVENT_SEEK, "seeking"),
- E(MPV_EVENT_PLAYBACK_RESTART, "seeking"),
+ E(MPV_EVENT_SEEK, "seeking", "core-idle"),
+ E(MPV_EVENT_PLAYBACK_RESTART, "seeking", "core-idle"),
E(MPV_EVENT_METADATA_UPDATE, "metadata", "filtered-metadata"),
E(MPV_EVENT_CHAPTER_CHANGE, "chapter", "chapter-metadata"),
E(MP_EVENT_CACHE_UPDATE, "cache", "cache-free", "cache-used", "cache-idle",
- "demuxer-cache-duration", "demuxer-cache-idle"),
+ "demuxer-cache-duration", "demuxer-cache-idle", "paused-for-cache"),
E(MP_EVENT_WIN_RESIZE, "window-scale"),
E(MP_EVENT_WIN_STATE, "window-minimized", "display-names"),
};
diff --git a/player/playloop.c b/player/playloop.c
index bcec02e21a..e88bd80382 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -933,8 +933,8 @@ void run_playloop(struct MPContext *mpctx)
fill_audio_out_buffers(mpctx, endpts); // actually play prepared buffer
if (!mpctx->restart_complete) {
mpctx->hrseek_active = false;
- mp_notify(mpctx, MPV_EVENT_PLAYBACK_RESTART, NULL);
mpctx->restart_complete = true;
+ mp_notify(mpctx, MPV_EVENT_PLAYBACK_RESTART, NULL);
if (!mpctx->playing_msg_shown) {
if (opts->playing_msg) {
char *msg =