diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-04-08 02:37:27 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-04-08 02:42:19 +0300 |
commit | 96daf7ed5ef96b86f2539164c27155bc830aa2a6 (patch) | |
tree | a77220fb48fba74773fe39cc7e5f4b3be381a4b5 /mplayer.c | |
parent | 2d91b19956c7d444ba440078e1c2ecd23d207a87 (diff) |
Add option -noordered-chapters.
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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"); |