argbcontrolbinding: gst_object_replace() is transfer none

This commit is contained in:
Sebastian Dröge 2016-10-13 18:02:38 +02:00
parent 1fdc091aa8
commit 336765a223

View file

@ -165,19 +165,19 @@ gst_argb_control_binding_set_property (GObject * object, guint prop_id,
switch (prop_id) { switch (prop_id) {
case PROP_CS_A: case PROP_CS_A:
gst_object_replace ((GstObject **) & self->cs_a, gst_object_replace ((GstObject **) & self->cs_a,
g_value_dup_object (value)); g_value_get_object (value));
break; break;
case PROP_CS_R: case PROP_CS_R:
gst_object_replace ((GstObject **) & self->cs_r, gst_object_replace ((GstObject **) & self->cs_r,
g_value_dup_object (value)); g_value_get_object (value));
break; break;
case PROP_CS_G: case PROP_CS_G:
gst_object_replace ((GstObject **) & self->cs_g, gst_object_replace ((GstObject **) & self->cs_g,
g_value_dup_object (value)); g_value_get_object (value));
break; break;
case PROP_CS_B: case PROP_CS_B:
gst_object_replace ((GstObject **) & self->cs_b, gst_object_replace ((GstObject **) & self->cs_b,
g_value_dup_object (value)); g_value_get_object (value));
break; break;
default: default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);