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 18:06:59 +0000 (19:06 +0100)
commit96d12f9eb12b31f3844912a02f89687d2a1d15b9
tree9b519939d34f48b0dc23ab3d44c9fad49edd3a93
parent1fb25b0853ac46ed13d7d2f345ab9945873b18d9
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