mpv/demux
wm4 92ba630796 demux: remove relative seeking
Ever since a change in mplayer2 or so, relative seeks were translated to
absolute seeks before sending them to the demuxer in most cases. The
only exception in current mpv is DVD seeking.

Remove the SEEK_ABSOLUTE flag; it's not the implied default. SEEK_FACTOR
is kept, because it's sometimes slightly useful for seeking in things
like transport streams. (And maybe mkv files without duration set?)

DVD seeking is terrible because DVD and libdvdnav are terrible, but
mostly because libdvdnav is terrible. libdvdnav does not expose seeking
with seek tables. (Although I know xbmc/kodi use an undocumented API
that is not declared in the headers by dladdr()ing it - I think the
function is dvdnav_jump_to_sector_by_time().) With the current mpv
policy if not giving a shit about DVD, just revert our half-working seek
hacks and always use dvdnav_time_search(). Relative seeking might get
stuck sometimes; in this case --hr-seek=always is recommended.
2016-02-28 19:28:34 +01:00
..
codec_tags.c
codec_tags.h
cue.c
cue.h
demux.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
demux.h demux: remove relative seeking 2016-02-28 19:28:34 +01:00
demux_cue.c
demux_disc.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
demux_edl.c
demux_lavf.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
demux_libarchive.c
demux_mf.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
demux_mkv.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
demux_mkv_timeline.c
demux_playlist.c
demux_rar.c
demux_raw.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
demux_timeline.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
demux_tv.c
ebml.c
ebml.h
matroska.h
packet.c
packet.h
stheader.h
timeline.c
timeline.h