wayland: fix thread-safe issues.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jan 2013 16:28:58 +0000 (17:28 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 28 Jan 2013 17:12:18 +0000 (18:12 +0100)
commit389bb77954e9dcd4cfac4a210927ff17f664a534
treee32119a27e1465c1a16719452dd797fa1cc95e44
parent2e34707b54825f2c16241273a0e80f29d573bb64
wayland: fix thread-safe issues.

The Wayland API is not fully thread-safe and client applications shall
perform locking themselves on key functions. Besides, make sure to
release the lock if the _render() function fails.
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c