mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
pipeline: Make sure tracks are unlinked on NULL->NULL state changes
This commit is contained in:
parent
c37fac7c27
commit
2efebc8587
1 changed files with 2 additions and 0 deletions
|
@ -583,6 +583,8 @@ ges_pipeline_change_state (GstElement * element, GstStateChange transition)
|
|||
|
||||
switch (transition) {
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||
case GST_STATE_CHANGE_NULL_TO_NULL:
|
||||
_unlink_tracks (self);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue