diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-08-13 14:40:17 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-08-13 23:02:16 +0200 |
commit | 36586dd7b7ad0a9145ab28f0245a7f00227a7ce8 (patch) | |
tree | 56a6325afe86043758d560bca2b9e58e84ac021c /audio/out/ao_jack.c | |
parent | 87ce0c3b8d4e7b668412315774e7ded84c4f8ad7 (diff) | |
download | mpv-36586dd7b7ad0a9145ab28f0245a7f00227a7ce8.tar.bz2 mpv-36586dd7b7ad0a9145ab28f0245a7f00227a7ce8.tar.xz |
input: make input queue thread safe
If pthreads are enabled the input queue accesses are regulated by acquiring
a mutex. This is useful for platforms like OS X, where the events are created
in the cocoa thread and added to the queue to then be dequeued in the playloop
thread.
Diffstat (limited to 'audio/out/ao_jack.c')
0 files changed, 0 insertions, 0 deletions