From 96daf7ed5ef96b86f2539164c27155bc830aa2a6 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 8 Apr 2009 02:37:27 +0300 Subject: Add option -noordered-chapters. --- mplayer.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index bd5957cee0..8bcaa3430b 100644 --- a/mplayer.c +++ b/mplayer.c @@ -2730,6 +2730,12 @@ static int find_ordered_chapter_sources(struct MPContext *mpctx, static void build_ordered_chapter_timeline(struct MPContext *mpctx) { + if (!mpctx->opts.ordered_chapters) { + mp_msg(MSGT_CPLAYER, MSGL_INFO, "File uses ordered chapters, but " + "you have disabled support for them. Ignoring.\n"); + return; + } + mp_msg(MSGT_CPLAYER, MSGL_INFO, "File uses ordered chapters, will build " "edit timeline.\n"); -- cgit v1.2.3