summaryrefslogtreecommitdiffstats
path: root/Copyright
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-11-10 02:55:02 +0100
committerwm4 <wm4@nowhere>2017-11-10 02:55:02 +0100
commitc494049e766a169c2abd25c99c3cdeff33cdc532 (patch)
tree65301a765ef64114dd4bbb4620b7d449fa210f2e /Copyright
parent935e406d6398062ea7978d546f4da6ca8e6a216f (diff)
downloadmpv-c494049e766a169c2abd25c99c3cdeff33cdc532.tar.bz2
mpv-c494049e766a169c2abd25c99c3cdeff33cdc532.tar.xz
demux: reduce difference between threaded and non-threaded mode
This fixes an endless loop with threading disabled, such as for example when playing a file with an external subtitle file, and seeking to the beginning. Something will set in->seeking, but the seek is never executed, which made demux_read_packet() loop endlessly. (External subtitles will use non-threaded mode for whatever reasons.) Fix this by by making the unthreaded code to execute the worker thread body, which reduces the difference in logic.
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions