1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00
mpv/player
wm4 1a522f2976 player: fallback to seek time for percent-pos property
The percent-pos property normally goes by time, except for file formats
like .ts or .ogg, where you can't trust the timestamps and duration info
to compute the position in the overall files. These use the byte
position and size instead.

When the file position was unavailable (e.g. due to an ongoing seek),
the percent-pos was unknown. Change it to use the time position instead.
In most cases, it's actually accurate enough, and the temporary
unavailability of the property can be annoying, e.g. on the terminal
status line.
2015-01-14 22:14:20 +01:00
..
lua ytdl: silence "succeeded" message 2015-01-03 03:38:23 +01:00
timeline tl_matroska: fix minor memory leak in error case 2015-01-12 13:20:56 +01:00
audio.c audio: alternative fix for previous commit 2014-11-27 18:52:22 +01:00
client.c client API: fix log buffer overflow case 2015-01-13 19:33:16 +01:00
client.h vo_opengl_cb: simplify API uninitialization 2014-12-31 20:31:19 +01:00
command.c command: fix property naming convention 2015-01-10 21:16:34 +01:00
command.h command: add window-minimized property (X11 only) 2014-11-02 20:55:07 +01:00
configfiles.c options: add option for ignoring patch in resume mechanism 2014-12-13 00:04:08 +01:00
core.h video: better pipelining with vf_vapoursynth 2015-01-03 03:01:58 +01:00
discnav.c osc, dvd, bd: fix mouse state when changing menu modes 2014-12-05 16:04:04 +01:00
loadfile.c player: check sufficient track selection before destroying VO 2015-01-12 13:04:21 +01:00
lua.c client API: be more lenient about mpv_suspend/resume mismatches 2014-12-15 14:44:47 +01:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
main.c win32: drop hacks for possibly broken static pthreads-win32 linking 2015-01-11 02:23:02 +01:00
misc.c player: don't display zero duration for files with unknown duration 2014-10-29 21:54:59 +01:00
osd.c command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
playloop.c player: fallback to seek time for percent-pos property 2015-01-14 22:14:20 +01:00
screenshot.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
screenshot.h
scripting.c scripting: fix/improve deprecation message 2014-12-15 06:24:05 +01:00
sub.c player: fix crash wtih --secondary-sid 2015-01-13 02:45:51 +01:00
video.c video: fix timeline with some container formats 2015-01-06 19:32:57 +01:00