/* this function returns FALSE if not enough data is known to transform the
* segment into proper downstream values. If the function does return false
- * the sgement should be stalled until enough information is available.
+ * the segment should be stalled until enough information is available.
* If the funtion returns TRUE, event will be replaced by the new downstream
* compatible event.
*/
case GST_STATE_CHANGE_NULL_TO_READY:
break;
case GST_STATE_CHANGE_READY_TO_PAUSED:
- pitch->next_buffer_time = 0;
+ pitch->next_buffer_time = GST_CLOCK_TIME_NONE;
pitch->next_buffer_offset = 0;
pitch->priv->st->clear ();
pitch->min_latency = pitch->max_latency = 0;