diff options
author | wm4 <wm4@nowhere> | 2017-11-10 02:55:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-11-10 02:55:02 +0100 |
commit | c494049e766a169c2abd25c99c3cdeff33cdc532 (patch) | |
tree | 65301a765ef64114dd4bbb4620b7d449fa210f2e /LICENSE.LGPL | |
parent | 935e406d6398062ea7978d546f4da6ca8e6a216f (diff) | |
download | mpv-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 'LICENSE.LGPL')
0 files changed, 0 insertions, 0 deletions