summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index dbee6ecd69..a948d1d03d 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1344,10 +1344,6 @@ static void play_current_file(struct MPContext *mpctx)
MP_INFO(mpctx, "Playing: %s\n", mpctx->filename);
-reopen_file:
-
- reset_playback_state(mpctx);
-
assert(mpctx->demuxer == NULL);
process_hooks(mpctx, "on_load");
@@ -1537,12 +1533,6 @@ terminate_playback:
mpctx->playback_initialized = false;
- if (mpctx->stop_play == PT_RELOAD_FILE) {
- mpctx->stop_play = KEEP_PLAYING;
- mp_cancel_reset(mpctx->playback_abort);
- goto reopen_file;
- }
-
m_config_restore_backups(mpctx->mconfig);
TA_FREEP(&mpctx->filter_root);