mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
basesrc: tag as a SOURCE element
Tag all elements deriving from the basesrc with the IS_SOURCE flag.
This commit is contained in:
parent
eed98f6c2c
commit
428a6477d8
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue