mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 15:32:32 +00:00
streams: Extend GstStreamType documentation
Users shouldn't assume it will be a single value since it's a flag.
This commit is contained in:
parent
6c1bc80d27
commit
71a2bdeaf7
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@ G_BEGIN_DECLS
|
||||||
*
|
*
|
||||||
* #GstStreamType describes a high level classification set for
|
* #GstStreamType describes a high level classification set for
|
||||||
* flows of data in #GstStream objects.
|
* 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 {
|
typedef enum {
|
||||||
GST_STREAM_TYPE_UNKNOWN = 1 << 0,
|
GST_STREAM_TYPE_UNKNOWN = 1 << 0,
|
||||||
|
|
Loading…
Reference in a new issue