[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>
Thu, 15 Nov 2012 21:31:19 +0000 (18:31 -0300)
commit2176d7d3675fbd17ce34808046ac6902731fbb84
tree5a9f5d68215052f4b4487ed50ad7d4748005f34c
parent58254c7140fd720f67cd94df609c2591f243a84b
[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