From bed2c6820ff6a22ac10ad204a8354182dbcc3f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 26 Sep 2015 00:17:55 +0200 Subject: [PATCH] audioaggregator: Stop using deprecated gst_segment_to_position() --- gst/audiomixer/gstaudioaggregator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/audiomixer/gstaudioaggregator.c b/gst/audiomixer/gstaudioaggregator.c index 156fa93626..d774694e8a 100644 --- a/gst/audiomixer/gstaudioaggregator.c +++ b/gst/audiomixer/gstaudioaggregator.c @@ -853,7 +853,7 @@ gst_audio_aggregator_fill_buffer (GstAudioAggregator * aagg, /* Convert to position in the output segment */ start_output_offset = - gst_segment_to_position (&agg->segment, GST_FORMAT_TIME, + gst_segment_position_from_running_time (&agg->segment, GST_FORMAT_TIME, start_running_time); if (start_output_offset != -1) start_output_offset = @@ -861,7 +861,7 @@ gst_audio_aggregator_fill_buffer (GstAudioAggregator * aagg, GST_SECOND); end_output_offset = - gst_segment_to_position (&agg->segment, GST_FORMAT_TIME, + gst_segment_position_from_running_time (&agg->segment, GST_FORMAT_TIME, end_running_time); if (end_output_offset != -1) end_output_offset =