summaryrefslogtreecommitdiffstats
path: root/old-makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-08 23:38:53 +0100
committerwm4 <wm4@nowhere>2014-03-09 00:19:35 +0100
commit5ffd6a9e9b7a0d894d7513ad20c24c2727426ecd (patch)
treef87a9c927774d8829ab2a920dcd857d2ee54a4e2 /old-makefile
parentb48d09a89dd14616e5ae4e9d017b921486d5f541 (diff)
downloadmpv-5ffd6a9e9b7a0d894d7513ad20c24c2727426ecd.tar.bz2
mpv-5ffd6a9e9b7a0d894d7513ad20c24c2727426ecd.tar.xz
encode: add locking
Since the AO will run in a thread, and there's lots of shared state with encoding, we have to add locking. One case this doesn't handle correctly are the encode_lavc_available() calls in ao_lavc.c and vo_lavc.c. They don't do much (and usually only to protect against doing --ao=lavc with normal playback), and changing it would be a bit messy. So just leave them.
Diffstat (limited to 'old-makefile')
0 files changed, 0 insertions, 0 deletions