1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00
mpv/player
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
..
lua osc: add always-on mode and unify visibility mode (always/never/auto) 2016-02-27 22:19:30 +01:00
audio.c player: minor simplification 2016-02-27 20:03:15 +01:00
client.c client API: handle double->int64 conversion correctly 2016-02-13 13:07:53 +01:00
client.h global: add client API pointer to library handle 2016-01-15 22:54:08 +01:00
command.c player: remove unused MPContext.stream field 2016-02-23 23:08:24 +01:00
command.h video: always re-probe auto deint filter on filter reconfig 2015-07-21 21:54:15 +02:00
configfiles.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
core.h player: minor simplification 2016-02-27 20:03:15 +01:00
external_files.c player: fix previous commit 2015-12-25 13:40:06 +01:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
lavfi.c lavfi: dump the filter graph 2016-02-12 20:28:07 +01:00
lavfi.h player: add complex filter graph support 2016-02-05 23:19:56 +01:00
loadfile.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
lua.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
main.c options: set fs=yes by default on RPI, and change RPI defaults handling 2016-02-05 18:05:38 +01:00
misc.c player: simplify error_on_track() 2016-02-05 23:17:27 +01:00
osd.c player: remove old timeline/ordered chapters support 2016-02-15 21:03:51 +01:00
playloop.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
screenshot.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
screenshot.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
scripting.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
sub.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
video.c player: minor simplification 2016-02-27 20:03:15 +01:00