summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-15 21:03:51 +0100
committerwm4 <wm4@nowhere>2016-02-15 21:03:51 +0100
commitae55896f42329b29619bcf4ade6bb83c6940a0f8 (patch)
tree4f4987638464bcb259422cde7b704bf1041f975a /player/osd.c
parent65f9af1d406de4625b79c369bc642c0ff6739673 (diff)
downloadmpv-ae55896f42329b29619bcf4ade6bb83c6940a0f8.tar.bz2
mpv-ae55896f42329b29619bcf4ade6bb83c6940a0f8.tar.xz
player: remove old timeline/ordered chapters support
Diffstat (limited to 'player/osd.c')
-rw-r--r--player/osd.c8
1 files changed, 3 insertions, 5 deletions
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) {