summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index b289ef4922..94a0274297 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1052,7 +1052,6 @@ static void play_current_file(struct MPContext *mpctx)
mpctx->initialized_flags |= INITIALIZED_PLAYBACK;
mp_notify(mpctx, MPV_EVENT_START_FILE, NULL);
- mp_flush_events(mpctx);
mpctx->stop_play = 0;
mpctx->filename = NULL;
@@ -1411,7 +1410,6 @@ terminate_playback: // don't jump here after ao/vo/getch initialization!
mp_notify(mpctx, MPV_EVENT_TRACKS_CHANGED, NULL);
mp_notify(mpctx, MPV_EVENT_END_FILE, NULL);
- mp_flush_events(mpctx);
}
// Determine the next file to play. Note that if this function returns non-NULL,