summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-16 20:15:30 +0100
committerwm4 <wm4@nowhere>2015-01-16 20:22:43 +0100
commit280f123f35037e3d9615c1272e96d47d6c164655 (patch)
tree51d70f3bef11b4427c44307734ceb569e0f07604 /player/core.h
parent730db25b1b17626c9d8f83fbe8e8e2596f0d0c2d (diff)
downloadmpv-280f123f35037e3d9615c1272e96d47d6c164655.tar.bz2
mpv-280f123f35037e3d9615c1272e96d47d6c164655.tar.xz
player: don't enable demuxer readahead before selecting tracks
This is for the ordered chapters case only. In theory this could have resulted in initial audio, video or subs missing, although it didn't happen in practice (because no streams were selected, thus the demuxer thread didn't actually try to read anything). It's still better to make this explicit. Also, timeline_set_part() can be private to loadfile.c.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index e23699127d..4aad52ceb5 100644
--- a/player/core.h
+++ b/player/core.h
@@ -385,7 +385,6 @@ void mp_mark_user_track_selection(struct MPContext *mpctx, int order,
enum stream_type type);
struct track *mp_track_by_tid(struct MPContext *mpctx, enum stream_type type,
int tid);
-bool timeline_set_part(struct MPContext *mpctx, int i, bool force);
double timeline_set_from_time(struct MPContext *mpctx, double pts, bool *need_reset);
void add_demuxer_tracks(struct MPContext *mpctx, struct demuxer *demuxer);
bool mp_remove_track(struct MPContext *mpctx, struct track *track);