summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-28 22:03:18 +0200
committerwm4 <wm4@nowhere>2015-04-28 22:03:18 +0200
commit0ff93a83571ede54af87ebd1aed5736f428c48d4 (patch)
tree3af14ce7c62a967cdfdd2630f068b234f4ef3986 /player/loadfile.c
parentc4aa13615501189c55c23448d436074e5f92c8cc (diff)
downloadmpv-0ff93a83571ede54af87ebd1aed5736f428c48d4.tar.bz2
mpv-0ff93a83571ede54af87ebd1aed5736f428c48d4.tar.xz
player: clamp display time to known time range on seeking
During seeking, and there is momemtarily no new data available yet, the player will display the seek target as current time. Clamp this time to the known time range as implied by the start time and the duration of the file. This improves behavior especially when seeking in audio files, for which this for some reason triggers rather often. There were some users complaining about this. This makes behavior worse for files with timestamp resets, or incorrectly reported duration. (The latter is relatively common, e.g. libavformat shortcomings, or incomplete files.)
Diffstat (limited to 'player/loadfile.c')
0 files changed, 0 insertions, 0 deletions