mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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.
This commit is contained in:
parent
b6853f783f
commit
faaa2423c2
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue