Commit bcc90210 authored by Brijesh Singh's avatar Brijesh Singh Committed by Sebastian Dröge

playbin: free group->suburi on failure

If suburidecodebin is failed to negotiate (e.g file does not exist)
then free internal suburi variable so that 'current-suburi' property
returns correct status.
parent a5dcce98
......@@ -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;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment