diff options
Diffstat (limited to 'player/loadfile.c')
-rw-r--r-- | player/loadfile.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index 6f5d29d3c8..1a6dccd3e4 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1101,9 +1101,6 @@ reopen_file: if (!mpctx->stream) goto terminate_playback; - // Must be called before enabling cache. - mp_nav_init(mpctx); - stream_enable_cache(&mpctx->stream, &opts->stream_cache); mp_notify(mpctx, MP_EVENT_CHANGE_ALL, NULL); @@ -1113,8 +1110,6 @@ reopen_file: stream_set_capture_file(mpctx->stream, opts->stream_capture); - mp_nav_reset(mpctx); - open_demux_reentrant(mpctx); if (!mpctx->master_demuxer) { MP_ERR(mpctx, "Failed to recognize file format.\n"); @@ -1251,8 +1246,6 @@ terminate_playback: process_unload_hooks(mpctx); - mp_nav_destroy(mpctx); - if (mpctx->stop_play == KEEP_PLAYING) mpctx->stop_play = AT_END_OF_FILE; |