summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-27 00:20:38 +0200
committerwm4 <wm4@nowhere>2014-08-27 00:20:38 +0200
commita8513f8b37343c27a4abea380ae0aa6bbae3894c (patch)
tree3d6779c304f222bf7d5b8b615cf05ae8fa36fcbc /DOCS
parent08b5dccd1212e442fa3105fc9f14ebe2e8fc445b (diff)
downloadmpv-a8513f8b37343c27a4abea380ae0aa6bbae3894c.tar.bz2
mpv-a8513f8b37343c27a4abea380ae0aa6bbae3894c.tar.xz
demux: reduce wakeups if no cache is active
The purpose of the unconditional pthread_cond_signal() when reading cached DEMUXER_CTRLs and STREAM_CTRLs was apparently to update the stream cache state. Otherwise, the cached fields would never be updated when the stream is e.g. paused. The same could be said about other CTRLs, but these aren't as important, since they are normally updated while reading packet data. In order to reduce wakeups, make this logic explicit.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions