summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-20 20:12:35 +0200
committerwm4 <wm4@nowhere>2014-07-20 20:13:08 +0200
commit5526603a4325efe672485a94d9a3cd2f8b8e7b9e (patch)
tree2983a4511948749114f23526dd6531dfaf670f5a /player
parent61efe87e48d3c929b9a88328a63820307d133d04 (diff)
downloadmpv-5526603a4325efe672485a94d9a3cd2f8b8e7b9e.tar.bz2
mpv-5526603a4325efe672485a94d9a3cd2f8b8e7b9e.tar.xz
demux: don't start reading if no packets were requested yet
Instead of starting to fill the packet queue if at least 1 stream is selected, wait until there is at least 1 stream had new packets requested. In theory this is cleaner, because it allows you to e.g. do a seek and then reselect streams without losing packets. Seeking marks all streams as inactive, and without this new logic, the thread would read new packets anyway right after seek.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions