From 07617d50d352f82494ab1f9dcf26a5294a8ff819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 16 May 2011 17:14:08 +0200 Subject: [PATCH] videorate: Update for segment API changes --- gst/videorate/gstvideorate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c index bf60f6b856..454f72adbd 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -552,7 +552,7 @@ gst_video_rate_flush_prev (GstVideoRate * videorate, gboolean duplicate) /* We do not need to update time in VFR (variable frame rate) mode */ if (!videorate->drop_only) { /* adapt for looping, bring back to time in current segment. */ - GST_BUFFER_TIMESTAMP (outbuf) = push_ts - videorate->segment.accum; + GST_BUFFER_TIMESTAMP (outbuf) = push_ts - videorate->segment.base; } GST_LOG_OBJECT (videorate,