1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/player
wm4 c10ca137a8 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).
2020-02-29 01:23:05 +01:00
..
javascript js: require: directory-scripts: first look at <dir>/modules/ 2020-02-07 18:22:12 +02:00
lua osc: use default hr-seek when dragging progress bar to seek 2020-02-28 17:17:42 +01:00
audio.c player: dumb seeking related stuff, make audio hr-seek default 2020-02-28 17:15:07 +01:00
client.c ta: remove two pointless wrappers 2020-02-23 19:48:25 +01:00
client.h scripting: load scripts from directories 2020-02-01 18:09:40 +01:00
command.c player: set playback_pts in hr-seek past EOF case 2020-02-28 02:14:12 +01:00
command.h command, vo: add a mechanism for runtime DPI scale changes 2020-01-09 19:13:42 +01:00
configfiles.c player: fix minor coding style issue 2020-01-26 14:29:48 +01:00
core.h player: remove delayed audio seek thing 2020-02-29 01:23:05 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: require: directory-scripts: first look at <dir>/modules/ 2020-02-07 18:22:12 +02:00
loadfile.c player: remove delayed audio seek thing 2020-02-29 01:23:05 +01:00
lua.c lua: fix typo in comment 2020-02-06 23:02:23 +01:00
main.c player: make failure to load scripts non-fatal again 2020-01-20 19:58:51 +01:00
misc.c player: dumb seeking related stuff, make audio hr-seek default 2020-02-28 17:15:07 +01:00
osd.c player: dumb seeking related stuff, make audio hr-seek default 2020-02-28 17:15:07 +01:00
playloop.c player: remove delayed audio seek thing 2020-02-29 01:23:05 +01:00
screenshot.c screenshot: fix typo in comment 2020-02-07 13:42:42 +01:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c scripting: fix racy crash if loading .run files fails 2020-02-25 22:41:09 +01:00
sub.c player: partially fix backward playback display of cached text subtitles 2020-02-04 20:26:35 +01:00
video.c player: dumb seeking related stuff, make audio hr-seek default 2020-02-28 17:15:07 +01:00