videorate: Don't ignore flow returns when filling the previous segment during NEWSEGM...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 1 Sep 2010 09:22:25 +0000 (11:22 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 1 Sep 2010 09:22:25 +0000 (11:22 +0200)
gst/videorate/gstvideorate.c

index f21b3af..7f3c898 100644 (file)
@@ -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) {