1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 14:12:10 +00:00
mpv/player
wm4 dad90f616d player: fix basic playback
The "buffering" logic was active even if the stream cache was disabled.
This is contrary to what the manpage says. It also breaks playback
because of another bug: the demuxer cache is smaller than 2 seconds,
and thus the resume condition never becomes true.

Explicitly run this code only if the stream cache is enabled. Also, fix
the underlying problem of the breakage, and resume when the demuxer
thread stops reading in any case, not just on EOF.

Broken by previous commit. Unbreaks playback of local files.
2014-08-27 10:59:22 +02:00
..
lua osc: Use osd-font for playlist buttons 2014-08-22 23:50:50 +02:00
timeline demux: make start time a simple field 2014-07-05 17:07:15 +02:00
audio.c player: minor changes 2014-08-25 21:39:24 +02:00
client.c client API: directly lock playloop 2014-08-14 19:40:43 +02:00
client.h client API: minor optimizations for property notification 2014-08-02 01:53:22 +02:00
command.c command: change OSD formatting of "speed" property 2014-08-25 00:48:55 +02:00
command.h client API: minor optimizations for property notification 2014-08-02 01:53:22 +02:00
configfiles.c Revert "Remove DVD and Bluray support" 2014-07-15 01:49:02 +02:00
core.h player: minor changes 2014-08-25 21:39:24 +02:00
discnav.c video: get rid of video_next_pts field 2014-08-22 14:22:06 +02:00
loadfile.c audio: minor improvements to timeline switching 2014-08-23 11:39:07 +02:00
lua.c lua: wake up the core when setting OSD 2014-08-15 23:32:31 +02:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
main.c options: compatibility hack for --slave-broken 2014-08-25 00:48:55 +02:00
misc.c player: use virtual time for --audio-file with ordered chapters 2014-08-15 23:32:37 +02:00
osd.c terminal: some cleanups 2014-08-21 22:45:58 +02:00
playloop.c player: fix basic playback 2014-08-27 10:59:22 +02:00
screenshot.c video: move display and timing to a separate thread 2014-08-12 23:24:08 +02:00
screenshot.h
scripting.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
sub.c player: use virtual time for --audio-file with ordered chapters 2014-08-15 23:32:37 +02:00
video.c player: minor changes 2014-08-25 21:39:24 +02:00