From d7a4cb14ff8dc61d87cec54abcd7f7623e8cc666 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Feb 2015 23:48:47 +0100 Subject: demux_edl: make independent from MPContext --- player/core.h | 3 --- player/loadfile.c | 3 --- 2 files changed, 6 deletions(-) (limited to 'player') diff --git a/player/core.h b/player/core.h index fd1ef86324..d7413dfa19 100644 --- a/player/core.h +++ b/player/core.h @@ -477,9 +477,6 @@ void uninit_sub_renderer(struct MPContext *mpctx); void update_osd_sub_state(struct MPContext *mpctx, int order, struct osd_sub_state *out_state); -// timeline/tl_mpv_edl.c -void build_mpv_edl_timeline(struct MPContext *mpctx); - // video.c void reset_video_state(struct MPContext *mpctx); int reinit_video_chain(struct MPContext *mpctx); diff --git a/player/loadfile.c b/player/loadfile.c index 6bd228fe62..aba8b6c7df 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -988,9 +988,6 @@ static void load_timeline(struct MPContext *mpctx) MP_TARRAY_APPEND(NULL, mpctx->sources, mpctx->num_sources, mpctx->demuxer); - if (mpctx->demuxer->type == DEMUXER_TYPE_EDL) - build_mpv_edl_timeline(mpctx); - mpctx->tl = timeline_load(mpctx->global, mpctx->log, mpctx->demuxer); if (mpctx->tl) { mpctx->timeline = mpctx->tl->parts; -- cgit v1.2.3