From ae55896f42329b29619bcf4ade6bb83c6940a0f8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 15 Feb 2016 21:03:51 +0100 Subject: player: remove old timeline/ordered chapters support --- player/osd.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'player/osd.c') diff --git a/player/osd.c b/player/osd.c index 41c483c0f5..2a09911ac7 100644 --- a/player/osd.c +++ b/player/osd.c @@ -467,13 +467,11 @@ static void add_seek_osd_messages(struct MPContext *mpctx) "Chapter: %s", chapter); talloc_free(chapter); } - if ((mpctx->add_osd_seek_info & OSD_SEEK_INFO_EDITION) - && mpctx->master_demuxer) - { + if ((mpctx->add_osd_seek_info & OSD_SEEK_INFO_EDITION) && mpctx->demuxer) { set_osd_msg(mpctx, 1, mpctx->opts->osd_duration, "Playing edition %d of %d.", - mpctx->master_demuxer->edition + 1, - mpctx->master_demuxer->num_editions); + mpctx->demuxer->edition + 1, + mpctx->demuxer->num_editions); } if (mpctx->add_osd_seek_info & OSD_SEEK_INFO_CURRENT_FILE) { if (mpctx->filename) { -- cgit v1.2.3