Commit 71a2bdea authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Edward Hervey

streams: Extend GstStreamType documentation

Users shouldn't assume it will be a single value since it's a flag.
parent 6c1bc80d
......@@ -48,6 +48,10 @@ G_BEGIN_DECLS
*
* #GstStreamType describes a high level classification set for
* flows of data in #GstStream objects.
*
* Note that this is a flag, and therefore users should not assume it
* will be a single value. Do not use the equality operator for checking
* whether a stream is of a certain type.
*/
typedef enum {
GST_STREAM_TYPE_UNKNOWN = 1 << 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment