diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 8d3782e1d4..01378df3b2 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -5313,6 +5313,8 @@ activate_group (GstPlayBin * playbin, GstSourceGroup * group, GstState target) group->sub_pending = FALSE; } gst_element_set_state (suburidecodebin, GST_STATE_READY); + g_free (group->suburi); + group->suburi = NULL; GST_SOURCE_GROUP_UNLOCK (group); } }