diff options
author | wm4 <wm4@nowhere> | 2014-04-15 23:12:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-15 23:12:15 +0200 |
commit | 3004661bf20fa5f0635b8a7a812c59c50fe99abf (patch) | |
tree | 88444e795794072dcdfb5661d377c18da705385c /audio/filter/af_lavcac3enc.c | |
parent | 824e4982bd18d1812c08bef6ba74cf2ad6601317 (diff) | |
download | mpv-3004661bf20fa5f0635b8a7a812c59c50fe99abf.tar.bz2 mpv-3004661bf20fa5f0635b8a7a812c59c50fe99abf.tar.xz |
input: deal with playback thread wakeup on windows
The recent change of waking up the playback thread using a wakeup pipe
doesn't work on windows, because windows is horrible. So use a condition
variable instead to wake up the thread. To make things worse, jackaudio
is also horrible and "disallows" the use of mutexes, so all we can do is
implementing a half-solution that is not race condition free.
It would probably better to give up on this lock-free crap in the pull-
API audio path.
Mostly untested.
Diffstat (limited to 'audio/filter/af_lavcac3enc.c')
0 files changed, 0 insertions, 0 deletions