diff options
author | wm4 <wm4@nowhere> | 2014-08-07 00:34:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-07 00:34:14 +0200 |
commit | 1483fd443a70150204bea3067749a94358f32c22 (patch) | |
tree | 115e600b0d5620fd539dae8033bae7ed50326853 /player/loadfile.c | |
parent | af57444bcbd001a2de8a3798c84e6c4556416b62 (diff) | |
download | mpv-1483fd443a70150204bea3067749a94358f32c22.tar.bz2 mpv-1483fd443a70150204bea3067749a94358f32c22.tar.xz |
demux: fix playback abort if --demuxer-thread is not used
Switching tracks caused cached_demux_control() to catch the command to
switch tracks, even if no thread was running. Thus, the tracks were
never really switched, and EOF happened immediately on playback start.
Fix it by not using the cache at all if the demuxer thread is disabled.
The cache code still has to be called somewhere, though, because it
handles stream metadata update.
Regression from today.
Diffstat (limited to 'player/loadfile.c')
0 files changed, 0 insertions, 0 deletions