gstrtspsrc: Free various props before being set
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8978>
This commit is contained in:
parent
e4f60e44ee
commit
0c0b4ad6d0
@ -2084,6 +2084,8 @@ gst_rtspsrc_set_property (GObject * object, guint prop_id, const GValue * value,
|
||||
rtspsrc->use_pipeline_clock = g_value_get_boolean (value);
|
||||
break;
|
||||
case PROP_SDES:
|
||||
if (rtspsrc->sdes)
|
||||
gst_structure_free (rtspsrc->sdes);
|
||||
rtspsrc->sdes = g_value_dup_boxed (value);
|
||||
break;
|
||||
case PROP_TLS_VALIDATION_FLAGS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user