summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-02-13 18:09:51 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-02-15 12:41:49 +0000
commit7172535920332f150c8fdfd123ee16b49511e945 (patch)
tree69c1c7c6d99720f5de6a8a564c1dc0a2b2b5f65b
parent324fd8d5c71bbc0f47b0cf444efe869791517870 (diff)
baseparse: fix reverse playback
... especially for all-keyframe (audio) cases.
-rw-r--r--libs/gst/base/gstbaseparse.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c
index 2df84c852..1da663cde 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 =