mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
urisourcebin: Only remove components in PAUSED->READY
With the refactoring, we are guaranteed the components are only created in PAUSED Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
This commit is contained in:
parent
5b41ea2fe8
commit
a5f0085cda
1 changed files with 0 additions and 4 deletions
|
@ -2735,10 +2735,6 @@ gst_uri_source_bin_change_state (GstElement * element,
|
|||
urisrc->buffering_status = NULL;
|
||||
urisrc->last_buffering_pct = -1;
|
||||
break;
|
||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||
GST_DEBUG ("ready to null");
|
||||
remove_source (urisrc);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue