Lines Matching refs:in_segment
361 gst_segment_init (&self->in_segment, GST_FORMAT_TIME); in gst_audio_buffer_split_change_state()
495 gst_segment_to_running_time (&self->in_segment, GST_FORMAT_TIME, in gst_audio_buffer_split_handle_discont()
498 (gst_buffer_get_size (buffer) / bpf) / ABS (self->in_segment.rate); in gst_audio_buffer_split_handle_discont()
502 if (self->in_segment.rate < 0) { in gst_audio_buffer_split_handle_discont()
511 && self->in_segment.rate != self->out_segment.rate); in gst_audio_buffer_split_handle_discont()
527 if (self->in_segment.rate < 0.0) { in gst_audio_buffer_split_handle_discont()
530 avail_samples, GST_SECOND, rate * ABS (self->in_segment.rate)); in gst_audio_buffer_split_handle_discont()
533 GST_SECOND, rate * ABS (self->in_segment.rate)); in gst_audio_buffer_split_handle_discont()
537 GST_SECOND, rate * self->in_segment.rate); in gst_audio_buffer_split_handle_discont()
540 avail_samples, GST_SECOND, rate * self->in_segment.rate); in gst_audio_buffer_split_handle_discont()
554 rate * ABS (self->in_segment.rate), GST_SECOND); in gst_audio_buffer_split_handle_discont()
560 current_rt, rate * ABS (self->in_segment.rate), GST_SECOND); in gst_audio_buffer_split_handle_discont()
652 self->out_segment = self->in_segment; in gst_audio_buffer_split_handle_discont()
722 GST_TIME_ARGS (gst_segment_to_running_time (&self->in_segment, in gst_audio_buffer_split_sink_chain()
733 buffer = gst_audio_buffer_clip (buffer, &self->in_segment, rate, bpf); in gst_audio_buffer_split_sink_chain()
813 gst_segment_init (&self->in_segment, GST_FORMAT_TIME); in gst_audio_buffer_split_sink_event()
825 gst_event_copy_segment (event, &self->in_segment); in gst_audio_buffer_split_sink_event()
826 if (self->in_segment.format != GST_FORMAT_TIME) { in gst_audio_buffer_split_sink_event()
832 &self->in_segment); in gst_audio_buffer_split_sink_event()