summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-14 14:33:26 +0200
committerwm4 <wm4@nowhere>2014-07-14 14:34:14 +0200
commit4b93210e0c244a65ef10a566abed2ad25ecaf9a1 (patch)
tree6ff381d5cfd95f7b89c9253f07faa75883983dcc /player/loadfile.c
parentc129e3f666a4d3f562f32e633293cf9bbb13c3ac (diff)
downloadmpv-4b93210e0c244a65ef10a566abed2ad25ecaf9a1.tar.bz2
mpv-4b93210e0c244a65ef10a566abed2ad25ecaf9a1.tar.xz
Remove DVD and Bluray support
It never worked well. Just remux your DVD and BD images to mkv.
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index e2a1e6e145..3f131d1df6 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1050,9 +1050,6 @@ static void play_current_file(struct MPContext *mpctx)
goto terminate_playback;
}
- // Must be called before enabling cache.
- mp_nav_init(mpctx);
-
int res = stream_enable_cache(&mpctx->stream, &opts->stream_cache);
if (res == 0)
if (demux_was_interrupted(mpctx))
@@ -1062,8 +1059,6 @@ static void play_current_file(struct MPContext *mpctx)
goto_reopen_demuxer: ;
- mp_nav_reset(mpctx);
-
//============ Open DEMUXERS --- DETECT file type =======================
mpctx->audio_delay = opts->audio_delay;
@@ -1271,8 +1266,6 @@ goto_reopen_demuxer: ;
terminate_playback:
- mp_nav_destroy(mpctx);
-
if (mpctx->stop_play == KEEP_PLAYING)
mpctx->stop_play = AT_END_OF_FILE;