From 70df1608d6f74f3eba9a5e593822984194f63951 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Nov 2015 22:47:17 +0100 Subject: player: handle rebasing start time differently Most of this is explained in the DOCS additions. This gives us slightly more sanity, because there is less interaction between the various parts. The goal is getting rid of the video_offset entirely. The simplification extends to the user API. In particular, we don't need to fix missing parts in the API, such as the lack for a seek command that seeks relatively to the start time. All these things are now transparent. (If someone really wants to know the real timestamps/start time, new properties would have to be added.) --- player/core.h | 1 - 1 file changed, 1 deletion(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index abe1316b41..9f47e2ad4e 100644 --- a/player/core.h +++ b/player/core.h @@ -454,7 +454,6 @@ void mp_print_version(struct mp_log *log, int always); void wakeup_playloop(void *ctx); // misc.c -double get_start_time(struct MPContext *mpctx); double get_main_demux_pts(struct MPContext *mpctx); double get_track_video_offset(struct MPContext *mpctx, struct track *track); double rel_time_to_abs(struct MPContext *mpctx, struct m_rel_time t); -- cgit v1.2.3