From 67d53d6aad67c55fd71c18ac5fb3c31869b39d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 26 Sep 2015 18:46:05 +0200 Subject: [PATCH] validatessim: Stop using deprecated gst_segment_to_position() --- validate/plugins/ssim/gstvalidatessim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/plugins/ssim/gstvalidatessim.c b/validate/plugins/ssim/gstvalidatessim.c index 56fad97965..97b8908ba0 100644 --- a/validate/plugins/ssim/gstvalidatessim.c +++ b/validate/plugins/ssim/gstvalidatessim.c @@ -644,7 +644,7 @@ _handle_buffer (GstValidateOverride * override, running_time = gst_segment_to_running_time (&pad_monitor->segment, GST_FORMAT_TIME, GST_BUFFER_PTS (buffer)); - position = gst_segment_to_position (&pad_monitor->segment, + position = gst_segment_position_from_running_time (&pad_monitor->segment, GST_FORMAT_TIME, running_time); if (!_should_dump_buffer (o, pad_monitor, position)) {