summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2011-02-18 15:05:03 +0200
committerStefan Kost <ensonic@users.sf.net>2011-02-18 15:05:03 +0200
commit81e52d5585b58febd2def49054a4d8cf10a48735 (patch)
treeff85dd59e05e57474bd89dddddd5a2279435343c
parent99d23b3905fa5c04f10fc8fa3abd334cc0cecaf8 (diff)
downloadgstreamer-plugins-bad-81e52d5585b58febd2def49054a4d8cf10a48735.tar.gz
baseparse: use delta-unit flags instead of none
-rw-r--r--gst-libs/gst/baseparse/gstbaseparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/baseparse/gstbaseparse.c b/gst-libs/gst/baseparse/gstbaseparse.c
index 16a6a081c..456eab88c 100644
--- a/gst-libs/gst/baseparse/gstbaseparse.c
+++ b/gst-libs/gst/baseparse/gstbaseparse.c
@@ -1334,7 +1334,7 @@ gst_base_parse_add_index_entry (GstBaseParse * parse, guint64 offset,
/* index might change on-the-fly, although that would be nutty app ... */
GST_OBJECT_LOCK (parse);
gst_index_add_associationv (parse->priv->index, parse->priv->index_id,
- (key) ? GST_ASSOCIATION_FLAG_KEY_UNIT : GST_ASSOCIATION_FLAG_NONE,
+ (key) ? GST_ASSOCIATION_FLAG_KEY_UNIT : GST_ASSOCIATION_FLAG_DELTA_UNIT,
2, (const GstIndexAssociation *) &associations);
GST_OBJECT_UNLOCK (parse);