diff options
author | wm4 <wm4@nowhere> | 2015-11-18 20:58:07 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-18 20:58:07 +0100 |
commit | 76fcef618b2f4e3ea7792866ed8eb74db356e152 (patch) | |
tree | 2ebcc64e47102041b87f871b72067f8fce0fd757 /player/core.h | |
parent | 74c862c68ededa2d2abf29df62d338cef9b8015f (diff) | |
download | mpv-76fcef618b2f4e3ea7792866ed8eb74db356e152.tar.bz2 mpv-76fcef618b2f4e3ea7792866ed8eb74db356e152.tar.xz |
player: make timeline switching slightly nicer
But not much.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h index 2f9d2828ac..c35e3d034b 100644 --- a/player/core.h +++ b/player/core.h @@ -430,7 +430,7 @@ void mp_switch_track_n(struct MPContext *mpctx, int order, void mp_deselect_track(struct MPContext *mpctx, struct track *track); struct track *mp_track_by_tid(struct MPContext *mpctx, enum stream_type type, int tid); -void timeline_set_part(struct MPContext *mpctx, int i, bool initial); +bool timeline_switch_to_time(struct MPContext *mpctx, double pts); int timeline_get_for_time(struct MPContext *mpctx, double pts); void add_demuxer_tracks(struct MPContext *mpctx, struct demuxer *demuxer); bool mp_remove_track(struct MPContext *mpctx, struct track *track); |