uritranscodebin: Free various props before being set
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8978>
This commit is contained in:
parent
38ca8ae156
commit
4fb0a06271
@ -570,6 +570,7 @@ gst_uri_transcode_bin_set_property (GObject * object,
|
|||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_PROFILE:
|
case PROP_PROFILE:
|
||||||
GST_OBJECT_LOCK (self);
|
GST_OBJECT_LOCK (self);
|
||||||
|
gst_clear_object (&self->profile);
|
||||||
self->profile = g_value_dup_object (value);
|
self->profile = g_value_dup_object (value);
|
||||||
GST_OBJECT_UNLOCK (self);
|
GST_OBJECT_UNLOCK (self);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user