From: Wim Taymans Date: Mon, 4 Oct 2010 15:27:00 +0000 (+0200) Subject: parse: Don't error on discont X-Git-Tag: RELEASE-0.10.31~134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88cf7a2156ed0865f72b3daa362bcc30fc26e518;p=platform%2Fupstream%2Fgst-plugins-base.git parse: Don't error on discont We don't need to error out when we detect a discontinuity. --- diff --git a/ext/theora/gsttheoraparse.c b/ext/theora/gsttheoraparse.c index 289b92802..dcbe83357 100644 --- a/ext/theora/gsttheoraparse.c +++ b/ext/theora/gsttheoraparse.c @@ -585,8 +585,7 @@ theora_parse_drain_queue (GstTheoraParse * parse, gint64 granulepos) GST_WARNING ("jumped %" G_GINT64_FORMAT " frames backwards! not sure what to do here", parse->prev_frame - prev_frame); - ret = GST_FLOW_ERROR; - goto done; + parse->prev_frame = prev_frame; } else if (prev_frame > parse->prev_frame) { GST_INFO ("discontinuity detected (%" G_GINT64_FORMAT " frames)", prev_frame - parse->prev_frame);