pipeline: Make sure tracks are unlinked on NULL->NULL state changes

This commit is contained in:
Thibault Saunier 2017-07-24 10:32:47 -04:00
parent c37fac7c27
commit 2efebc8587

View file

@ -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: