Commit faaa2423 authored by Mathieu Duponchelle's avatar Mathieu Duponchelle

uridecodebin3: free_play_items when READY_TO_PAUSED failed.

We will never go through the PAUSED_TO_READY transition if
that is the case, and thus never free the play items.
parent b6853f78
......@@ -1064,6 +1064,8 @@ gst_uri_decode_bin3_change_state (GstElement * element,
/* ERRORS */
failure:
{
if (transition == GST_STATE_CHANGE_READY_TO_PAUSED)
free_play_items (uridecodebin);
return ret;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment