summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapidisplay_priv.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-12-17 10:10:55 +0100
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-12-17 14:33:45 +0100
commit97c3b2ddffbf87fef4f037f0b0fcb6fec273dbab (patch)
tree5b17596291ee2195ca55f5cd2cfc3ee3e4e138d4 /gst-libs/gst/vaapi/gstvaapidisplay_priv.h
parent1d669a3e123075b1ba1e0d89f8635d818d0ae9e6 (diff)
downloadgst-vaapi-97c3b2ddffbf87fef4f037f0b0fcb6fec273dbab.tar.gz
libs: use glib >= 2.32 semantics for mutexes.
Use glib >= 2.32 semantics for GMutex and GRecMutex wrt. initialization and termination. Basically, the new mutex objects can be used as static mutex objects from the deprecated APIs, e.g. GStaticMutex and GStaticRecMutex.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidisplay_priv.h')
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_priv.h b/gst-libs/gst/vaapi/gstvaapidisplay_priv.h
index ac0555e3..cb5302b0 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay_priv.h
+++ b/gst-libs/gst/vaapi/gstvaapidisplay_priv.h
@@ -73,7 +73,7 @@ G_BEGIN_DECLS
*/
struct _GstVaapiDisplayPrivate {
GstVaapiDisplay *parent;
- GStaticRecMutex mutex;
+ GRecMutex mutex;
GstVaapiDisplayType display_type;
VADisplay display;
guint width;