From 336765a2234499a5fecf2e8688d8b25cf747c943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 13 Oct 2016 18:02:38 +0200 Subject: [PATCH] argbcontrolbinding: gst_object_replace() is transfer none --- libs/gst/controller/gstargbcontrolbinding.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/gst/controller/gstargbcontrolbinding.c b/libs/gst/controller/gstargbcontrolbinding.c index cdf879b42d..772d370571 100644 --- a/libs/gst/controller/gstargbcontrolbinding.c +++ b/libs/gst/controller/gstargbcontrolbinding.c @@ -165,19 +165,19 @@ gst_argb_control_binding_set_property (GObject * object, guint prop_id, switch (prop_id) { case PROP_CS_A: gst_object_replace ((GstObject **) & self->cs_a, - g_value_dup_object (value)); + g_value_get_object (value)); break; case PROP_CS_R: gst_object_replace ((GstObject **) & self->cs_r, - g_value_dup_object (value)); + g_value_get_object (value)); break; case PROP_CS_G: gst_object_replace ((GstObject **) & self->cs_g, - g_value_dup_object (value)); + g_value_get_object (value)); break; case PROP_CS_B: gst_object_replace ((GstObject **) & self->cs_b, - g_value_dup_object (value)); + g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);