mpv/player
wm4 fdb379109f player: hack against --keep-open misbehaving with broken files
If a file (or a demuxer) is broken, seeking close to the end of the file
doesn't work, and seek_to_last_frame() will be called over and over
again, burning CPU for no reason.

Observed with incomplete mp4 files. That this can happen was already
mentioned in commit 090f6cfc, but I guess now I'll do something against
it.

hrseek_lastframe is cleared by reset_playback_state(), so it's only set
if seek_to_last_frame() was called, and no other seek happened since
then. If finding the last frame succeeds, no EOF will happen (unless the
user unpauses, but then it will simply remain at the last frame). If it
fails, then it will return immediately, without retrying.
2014-12-24 15:12:11 +01:00
..
lua options: deprecate 'lua' based options/dirs for 'script' 2014-12-15 04:39:56 +01:00
timeline player: always use demux_chapter 2014-11-02 17:29:41 +01:00
audio.c audio: alternative fix for previous commit 2014-11-27 18:52:22 +01:00
client.c client API: fix compiler warning if openglcb API is disabled 2014-12-22 12:47:05 +01:00
client.h client API: be more lenient about mpv_suspend/resume mismatches 2014-12-15 14:44:47 +01:00
command.c player: don't show "0%" percentage in infinite streams 2014-12-20 17:31:58 +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 player: cosmetics: move code around 2014-12-21 23:47:00 +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: print only changed tags 2014-12-19 23:54:21 +01:00
lua.c client API: be more lenient about mpv_suspend/resume mismatches 2014-12-15 14:44:47 +01:00
main.c vo_opengl_cb: free context on exit 2014-12-22 12:45:43 +01:00
main_fn.c
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: hack against --keep-open misbehaving with broken files 2014-12-24 15:12:11 +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 sub: reset sub decoder correctly when cycling subtitles 2014-12-21 23:48:20 +01:00
video.c player: fix a typo in message output 2014-12-24 14:35:04 +01:00