From: Sebastian Dröge Date: Wed, 1 Sep 2010 09:22:25 +0000 (+0200) Subject: videorate: Don't ignore flow returns when filling the previous segment during NEWSEGM... X-Git-Tag: RELEASE-0.10.31~263 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20d5c6d05cff01aca94cb1d796d50bfe85ce10a2;p=platform%2Fupstream%2Fgst-plugins-base.git videorate: Don't ignore flow returns when filling the previous segment during NEWSEGMENT handling --- 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) {