[12/30] dri2videosink: destroy context only whe window is destroyed
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 20 Jul 2012 12:16:33 +0000 (12:16 +0000)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 21 Nov 2012 16:12:30 +0000 (13:12 -0300)
commitf67dc44bda2eb69321141c3109f19d1f7badf0ac
tree2698fee39fc90369317d13e16bd9f1478a18e289
parent4e0ca64dc49a9a48e995c062fc6249a59e618472
[12/30] dri2videosink: destroy context only whe window is destroyed

This avoids using the X lock after it was destroyed, as buffers
may be destroyed later, and need to use the context.
sys/dri2/gstdri2util.c
sys/dri2/gstdri2videosink.c