mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
added GST_STR_FOURCC, which takes strings like "YUY2" instead of 'Y','U','Y','2'. better, I think <g>
Original commit message from CVS: added GST_STR_FOURCC, which takes strings like "YUY2" instead of 'Y','U','Y','2'. better, I think <g>
This commit is contained in:
parent
285cd4c15a
commit
4368fad117
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ typedef enum {
|
||||||
} GstPropsId;
|
} GstPropsId;
|
||||||
|
|
||||||
#define GST_MAKE_FOURCC(a,b,c,d) ((a)|(b)<<8|(c)<<16|(d)<<24)
|
#define GST_MAKE_FOURCC(a,b,c,d) ((a)|(b)<<8|(c)<<16|(d)<<24)
|
||||||
|
#define GST_STR_FOURCC(f) (((f)[0])|((f)[1]<<8)|((f)[2]<<16)|((f)[3]<<24))
|
||||||
|
|
||||||
#define GST_PROPS_LIST(a...) GST_PROPS_LIST_ID,##a,NULL
|
#define GST_PROPS_LIST(a...) GST_PROPS_LIST_ID,##a,NULL
|
||||||
#define GST_PROPS_INT(a) GST_PROPS_INT_ID,(a)
|
#define GST_PROPS_INT(a) GST_PROPS_INT_ID,(a)
|
||||||
|
|
Loading…
Reference in a new issue