basesrc: tag as a SOURCE element

Tag all elements deriving from the basesrc with the IS_SOURCE flag.
This commit is contained in:
Wim Taymans 2010-10-11 10:55:04 +02:00
parent eed98f6c2c
commit 428a6477d8

View file

@ -438,6 +438,7 @@ gst_base_src_init (GstBaseSrc * basesrc, gpointer g_class)
basesrc->priv->do_timestamp = DEFAULT_DO_TIMESTAMP;
GST_OBJECT_FLAG_UNSET (basesrc, GST_BASE_SRC_STARTED);
GST_OBJECT_FLAG_SET (basesrc, GST_ELEMENT_IS_SOURCE);
GST_DEBUG_OBJECT (basesrc, "init done");
}