diff options
author | wm4 <wm4@nowhere> | 2020-02-28 20:13:32 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-29 01:23:05 +0100 |
commit | c10ca137a871c0cebbfa84d802e28e5eddd8705c (patch) | |
tree | 96eb5406a284042fd81e3518d0761dec8fa79193 /TOOLS/mpv-osd-symbols.sfdir/uniE003.glyph | |
parent | d32ce14d2c957cdb8cc9d0fdada06fe128ab673b (diff) | |
download | mpv-c10ca137a871c0cebbfa84d802e28e5eddd8705c.tar.bz2 mpv-c10ca137a871c0cebbfa84d802e28e5eddd8705c.tar.xz |
player: remove delayed audio seek thing
This was a hack that attempted to line up external audio tracks with
video. The problem is that if you do a keyframe seek backwards, video
will usually seek much farther back than audio (due to much higher
keyframe aka seek point distances). The hack somehow made seeking a 2
step process.
This existed in 4 different forms in the history of this code base, and
it was always very cumbersome. We mostly needed this for ytdl_hook (I
think?), which uses the 4th form, which is nicely confined to
demux_timeline and is unrelated to the "external" audio tracks in the
high level player.
Since this is (probably) not really widely needed anymore, get rid of
it. Better do this now, than when somehow rewriting all the seeking code
(which might happen in this decade or the next or so) and when it
wouldn't be easily revertable anymore in case we find we "really" need
it unlike expected.
There is no issue if hr-seeks are used. Also, you can still use edl
files to "bundle" multiple streams as if it was a single stream (this is
what ytdl_hook does now).
Diffstat (limited to 'TOOLS/mpv-osd-symbols.sfdir/uniE003.glyph')
0 files changed, 0 insertions, 0 deletions