wayland: really wait until the pending redraw completed.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jan 2013 15:37:28 +0000 (16:37 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jan 2013 17:10:31 +0000 (18:10 +0100)
commit2e34707b54825f2c16241273a0e80f29d573bb64
tree0a1eb4ffb48141f5ffa84c5ddc832fea2c1ef190
parent2183eb54c12f65767e3d20d38767b96ced97b470
wayland: really wait until the pending redraw completed.

Introduce gst_vaapi_window_wayland_sync() helper function to wait for
the completion of the redraw request. Use it in _render() function to
actually block until the previous draw request is completed.
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c