videorate: Don't ignore flow returns when filling the previous segment during NEWSEGMENT handling

This commit is contained in:
Sebastian Dröge 2010-09-01 11:22:25 +02:00
parent ad03838f55
commit 20d5c6d05c

View 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) {