summaryrefslogtreecommitdiff
path: root/sys/va/gstvaallocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/va/gstvaallocator.c')
-rw-r--r--sys/va/gstvaallocator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/va/gstvaallocator.c b/sys/va/gstvaallocator.c
index 6138e2e7a..b1136fe4a 100644
--- a/sys/va/gstvaallocator.c
+++ b/sys/va/gstvaallocator.c
@@ -38,7 +38,7 @@ static void
_init_debug_category (void)
{
#ifndef GST_DISABLE_GST_DEBUG
- static volatile gsize _init = 0;
+ static gsize _init = 0;
if (g_once_init_enter (&_init)) {
GST_DEBUG_CATEGORY_INIT (gst_va_memory_debug, "vamemory", 0, "VA memory");
@@ -342,8 +342,8 @@ struct _GstVaBufferSurface
VASurfaceID surface;
guint n_mems;
GstMemory *mems[GST_VIDEO_MAX_PLANES];
- volatile gint ref_count;
- volatile gint ref_mems_count;
+ gint ref_count;
+ gint ref_mems_count;
};
static void
@@ -1029,7 +1029,7 @@ struct _GstVaMemory
gpointer mapped_data;
GstMapFlags prev_mapflags;
- volatile gint map_count;
+ gint map_count;
gboolean is_derived;
gboolean is_dirty;