diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-04-24 02:18:19 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-04-24 02:18:19 +0300 |
commit | 1b272e3b2d8de97744c5316e5bdbeb6e8b867b1d (patch) | |
tree | d0c6ba8f7251fcd0adeb8f2a1e70e8ec76622932 /asxparser.c | |
parent | 7180728cbad8196146010e12191e0b5f1ce560b1 (diff) | |
download | mpv-1b272e3b2d8de97744c5316e5bdbeb6e8b867b1d.tar.bz2 mpv-1b272e3b2d8de97744c5316e5bdbeb6e8b867b1d.tar.xz |
demux_lavf: Make absolute seek time 0-based instead of file start
demux_lavf interpreted absolute seeks as relative to the start of the
file, so if the file didn't start at timestamp 0 then seeking to
timestamp X went to a position MPlayer would display as start+X. Make
the seeks use the same timestamps as used in the original file. This
works better for most use cases as no part of MPlayer normally uses or
displays such "since start of file" timestamp values. There could be
some cases where the old semantics are useful, but I think they do not
justify making it the default behavior; a separate feature for that
could be added if it turns out to be needed.
Diffstat (limited to 'asxparser.c')
0 files changed, 0 insertions, 0 deletions