diff options
author | wm4 <wm4@nowhere> | 2013-07-28 00:10:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-28 19:25:07 +0200 |
commit | c28bafcfb6a6b564bbce4105c4ea83fe81865585 (patch) | |
tree | 598313191916cf1af9a209294fe9e8c4ebfda22b /video/fmt-conversion.c | |
parent | a9a6cf3b6c26eb21bd628c61e53c62fa7e565dbd (diff) | |
download | mpv-c28bafcfb6a6b564bbce4105c4ea83fe81865585.tar.bz2 mpv-c28bafcfb6a6b564bbce4105c4ea83fe81865585.tar.xz |
mp_image_pool: make reference counting thread-safe
See previous commits. Also simplify this thing: 2 flags per pool image
are enough to avoid a weird central refcount and an associated shared
object keeping the refcount. We could even just store these two flags
in the mp_image itself (like in mp_image.flags or mp_image.priv), but
let's not for the sake of readability.
Diffstat (limited to 'video/fmt-conversion.c')
0 files changed, 0 insertions, 0 deletions