diff options
author | wm4 <wm4@nowhere> | 2018-04-20 21:24:20 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-04-29 02:21:32 +0300 |
commit | 205b2da160d4941ebf2b55b1f72b9bca60d24aab (patch) | |
tree | d04eb2c26fceb73eb1bc70193dd0f7deb92d04f1 /mpv_talloc.h | |
parent | 1c550326ce5a885ef58fee9e1d11c9faab4a13b9 (diff) | |
download | mpv-205b2da160d4941ebf2b55b1f72b9bca60d24aab.tar.bz2 mpv-205b2da160d4941ebf2b55b1f72b9bca60d24aab.tar.xz |
vo_libmpv: move some update() callbacks out of context lock
update() used to require the lock, but now it doesn't matter. It's
slightly better to do it outside of the lock now, in case the update
callback reschedules before returning, and the user render thread tries
to acquire the still held lock (which would require 2 more context
switches).
Diffstat (limited to 'mpv_talloc.h')
0 files changed, 0 insertions, 0 deletions