mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
argbcontrolbinding: gst_object_replace() is transfer none
This commit is contained in:
parent
1fdc091aa8
commit
336765a223
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue