From 20d5c6d05cff01aca94cb1d796d50bfe85ce10a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 1 Sep 2010 11:22:25 +0200 Subject: [PATCH] videorate: Don't ignore flow returns when filling the previous segment during NEWSEGMENT handling --- 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 f21b3af..7f3c898 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -551,7 +551,7 @@ gst_video_rate_event (GstPad * pad, GstEvent * event) videorate->next_ts - videorate->segment.accum < videorate->segment.stop) || count < 1)) { - gst_video_rate_flush_prev (videorate, count > 0); + res = gst_video_rate_flush_prev (videorate, count > 0); count++; } if (count > 1) { -- 2.7.4