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)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 20 Jul 2012 12:16:33 +0000 (12:16 +0000)
commit9333b4cae47d3e7c248132fd5d663ab2b16e5c8c
treeb33967b175831bb4f062d49f9b1e987222e000fd
parent6537b1212b17c9e7d173bf68db74cb8b7d829269
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