From 4b93210e0c244a65ef10a566abed2ad25ecaf9a1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 14 Jul 2014 14:33:26 +0200 Subject: Remove DVD and Bluray support It never worked well. Just remux your DVD and BD images to mkv. --- player/loadfile.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'player/loadfile.c') 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; -- cgit v1.2.3