taginject: set gap-aware
authorChad <channa@caltech.edu>
Mon, 28 Nov 2011 10:47:11 +0000 (11:47 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 28 Nov 2011 10:47:11 +0000 (11:47 +0100)
The element does not modify the data anyway.

gst/debugutils/gsttaginject.c

index a5e78fe..5d2c5ed 100644 (file)
@@ -134,6 +134,10 @@ gst_tag_inject_class_init (GstTagInjectClass * klass)
 static void
 gst_tag_inject_init (GstTagInject * self, GstTagInjectClass * g_class)
 {
+  GstBaseTransform *trans = GST_BASE_TRANSFORM (self);
+
+  gst_base_transform_set_gap_aware (trans, TRUE);
+
   self->tags = NULL;
 }