diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-10-11 10:53:41 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-10-11 11:16:27 +0200 |
commit | eed98f6c2c13ecf298fbe711e153f43729be6a32 (patch) | |
tree | 38de150987cfd37a2ea3d553c27fb859e871f35f | |
parent | 0bb4fafd301ecf958ead7e914e69c29589697cc8 (diff) |
element: add IS_SOURCE flag
Add the GST_ELEMENT_IS_SOURCE flag so that we can tag source elements like we
can with sink elements.
-rw-r--r-- | gst/gstelement.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/gstelement.h b/gst/gstelement.h index 12ed0dfa8..440350cfc 100644 --- a/gst/gstelement.h +++ b/gst/gstelement.h @@ -317,6 +317,7 @@ typedef enum /*< flags=0 >*/ * @GST_ELEMENT_IS_SINK: the element is a sink * @GST_ELEMENT_UNPARENTING: Child is being removed from the parent bin. * gst_bin_remove() on a child already being removed immediately returns FALSE + * @GST_ELEMENT_IS_SOURCE: the element is a source. Since 0.10.31 * @GST_ELEMENT_FLAG_LAST: offset to define more flags * * The standard flags that an element may have. @@ -326,6 +327,7 @@ typedef enum GST_ELEMENT_LOCKED_STATE = (GST_OBJECT_FLAG_LAST << 0), GST_ELEMENT_IS_SINK = (GST_OBJECT_FLAG_LAST << 1), GST_ELEMENT_UNPARENTING = (GST_OBJECT_FLAG_LAST << 2), + GST_ELEMENT_IS_SOURCE = (GST_OBJECT_FLAG_LAST << 3), /* padding */ GST_ELEMENT_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 16) } GstElementFlags; |