From: Mark Nauwelaerts Date: Mon, 13 Feb 2012 17:09:51 +0000 (+0100) Subject: baseparse: fix reverse playback X-Git-Tag: RELEASE-0.11.2~16^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8ea9994aa5b0bbd0869e2cdb98db73787928025;p=platform%2Fupstream%2Fgstreamer.git baseparse: fix reverse playback ... especially for all-keyframe (audio) cases. --- diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 5a730fd..34a5ae7 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -2181,12 +2181,11 @@ push: } seen_key = FALSE; } - } else { seen_delta = TRUE; + } else { + seen_key = TRUE; } - seen_key |= !GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DELTA_UNIT); - parse->priv->buffers_send = g_slist_prepend (parse->priv->buffers_send, buf); parse->priv->buffers_queued =