[04/30] dri2videosink: refcount dri2window
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Sun, 24 Jun 2012 13:58:38 +0000 (13:58 +0000)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 21 Nov 2012 16:12:29 +0000 (13:12 -0300)
commit601fe78d53b2941d0c432cf6ed6a36aba335f762
tree60b5c7ee2c5161faa9d859853f67d81f461b10dd
parentbb601277573212005ea617c0330972a764a98c61
[04/30] dri2videosink: refcount dri2window

I'm not convinced this was wrong in the first place, since the dri2window
was destroying the pool on destruction, and I'm told buffers cannot outlive
the pool, but refcounting makes this certain, though care has to be taken
to avoid ref cycles between dri2window and buffer pool.
sys/dri2/gstdri2bufferpool.c
sys/dri2/gstdri2util.c
sys/dri2/gstdri2util.h