wayland: free frame in buffer release callback
authorMichael Olbrich <m.olbrich@pengutronix.de>
Tue, 3 Feb 2015 15:52:06 +0000 (16:52 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 21 Apr 2015 15:25:25 +0000 (17:25 +0200)
commit7548c72a7d7db3e1d1d2bb2965a08d028907565a
treeeff92c5629a966dc3cf85f2da22e50f81586b77f
parent99f95690b5facbe9c823df1e20438be3936813c7
wayland: free frame in buffer release callback

The Wayland compositor may still use the buffer when the frame done
callback is called.

This patch destroys the frame (which contains the buffer) until the
release callback is called. The draw termination callback only controls
the display queue dispatching.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
https://bugzilla.gnome.org/show_bug.cgi?id=747492
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c