pipeline: Reset the start time when going from PAUSED to READY too
authorSebastian Dröge <sebastian@centricular.com>
Tue, 15 Jul 2014 16:19:24 +0000 (18:19 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 21 Jul 2014 07:33:54 +0000 (09:33 +0200)
gst/gstpipeline.c

index d0ddf93..7c47ae7 100644 (file)
@@ -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;
   }