baseparse: use delta-unit flags instead of none
authorStefan Kost <ensonic@users.sf.net>
Fri, 18 Feb 2011 13:05:03 +0000 (15:05 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 14:44:56 +0000 (15:44 +0100)
libs/gst/base/gstbaseparse.c

index 16a6a08..456eab8 100644 (file)
@@ -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);