libs: use glib >= 2.32 semantics for mutexes.
[profile/ivi/gstreamer-vaapi.git] / gst-libs / gst / vaapi / gstvaapidisplay_priv.h
index 2892f0d..cb5302b 100644 (file)
@@ -2,6 +2,7 @@
  *  gstvaapidisplay_priv.h - Base VA display (private definitions)
  *
  *  Copyright (C) 2010-2011 Splitted-Desktop Systems
+ *  Copyright (C) 2011-2012 Intel Corporation
  *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public License
@@ -72,7 +73,8 @@ G_BEGIN_DECLS
  */
 struct _GstVaapiDisplayPrivate {
     GstVaapiDisplay    *parent;
-    GStaticRecMutex     mutex;
+    GRecMutex           mutex;
+    GstVaapiDisplayType display_type;
     VADisplay           display;
     guint               width;
     guint               height;
@@ -84,6 +86,7 @@ struct _GstVaapiDisplayPrivate {
     GArray             *encoders;
     GArray             *image_formats;
     GArray             *subpicture_formats;
+    GArray             *properties;
     guint               create_display  : 1;
 };