summaryrefslogtreecommitdiffstats
path: root/gst/debug/testplugin.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-11-21 16:36:05 +0000
committerAndy Wingo <wingo@pobox.com>2005-11-21 16:36:05 +0000
commit0d470f58ca30d7b488e1f1cce1d7bf27bd3239b2 (patch)
tree30fe63cecf438125f1d50d3e290c367c5855a95f /gst/debug/testplugin.c
parentbba99aa3da1aa594d6908d9d74f3679a8515aecd (diff)
*.*: Ran scripts/update-macros. Oh yes.
Original commit message from CVS: 2005-11-21 Andy Wingo <wingo@pobox.com> * *.h: * *.c: Ran scripts/update-macros. Oh yes.
Diffstat (limited to 'gst/debug/testplugin.c')
-rw-r--r--gst/debug/testplugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/debug/testplugin.c b/gst/debug/testplugin.c
index e5ad0db1..d176e09c 100644
--- a/gst/debug/testplugin.c
+++ b/gst/debug/testplugin.c
@@ -263,9 +263,9 @@ gst_test_set_property (GObject * object, guint prop_id,
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
} else {
/* expected values */
- GST_LOCK (test);
+ GST_OBJECT_LOCK (test);
g_value_copy (value, &test->values[prop_id / 2 - 1]);
- GST_UNLOCK (test);
+ GST_OBJECT_UNLOCK (test);
}
}
@@ -281,7 +281,7 @@ gst_test_get_property (GObject * object, guint prop_id, GValue * value,
return;
}
- GST_LOCK (test);
+ GST_OBJECT_LOCK (test);
if (prop_id % 2) {
/* real values */
@@ -291,7 +291,7 @@ gst_test_get_property (GObject * object, guint prop_id, GValue * value,
g_value_copy (&test->values[id], value);
}
- GST_UNLOCK (test);
+ GST_OBJECT_UNLOCK (test);
}
gboolean