mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
pipeline: Reset the start time when going from PAUSED to READY too
This commit is contained in:
parent
aa6aaa42a8
commit
1299d06ef1
1 changed files with 2 additions and 0 deletions
|
@ -465,6 +465,8 @@ gst_pipeline_change_state (GstElement * element, GstStateChange transition)
|
|||
break;
|
||||
}
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
reset_start_time (pipeline, 0);
|
||||
break;
|
||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue