diff options
author | wm4 <wm4@nowhere> | 2015-11-16 22:47:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-16 22:47:17 +0100 |
commit | 70df1608d6f74f3eba9a5e593822984194f63951 (patch) | |
tree | e6f332aa72d8fd8020d4ba9a214a4826ed6e711f /demux/demux.h | |
parent | e24e0ccd6828ff8a50fb290bed45a0f6d81eb00b (diff) | |
download | mpv-70df1608d6f74f3eba9a5e593822984194f63951.tar.bz2 mpv-70df1608d6f74f3eba9a5e593822984194f63951.tar.xz |
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.)
Diffstat (limited to 'demux/demux.h')
-rw-r--r-- | demux/demux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux.h b/demux/demux.h index 7823d50233..96717d5eeb 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -271,6 +271,7 @@ bool demux_cancel_test(struct demuxer *demuxer); void demux_flush(struct demuxer *demuxer); int demux_seek(struct demuxer *demuxer, double rel_seek_secs, int flags); void demux_set_enable_refresh_seeks(struct demuxer *demuxer, bool enabled); +void demux_set_ts_offset(struct demuxer *demuxer, double offset); int demux_control(struct demuxer *demuxer, int cmd, void *arg); |