mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
caps: use G_GNUC_NULL_TERMINATED for gst_caps_new_simple() and gst_caps_new_full()
If you get warnings, use gst_caps_new_empty(). https://bugzilla.gnome.org/show_bug.cgi?id=343346
This commit is contained in:
parent
852851edab
commit
3406549cf6
1 changed files with 3 additions and 2 deletions
|
@ -342,8 +342,9 @@ GstCaps * gst_caps_new_empty (void);
|
|||
GstCaps * gst_caps_new_any (void);
|
||||
GstCaps * gst_caps_new_simple (const char *media_type,
|
||||
const char *fieldname,
|
||||
...);
|
||||
GstCaps * gst_caps_new_full (GstStructure *struct1, ...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
GstCaps * gst_caps_new_full (GstStructure *struct1,
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
GstCaps * gst_caps_new_full_valist (GstStructure *structure,
|
||||
va_list var_args);
|
||||
|
||||
|
|
Loading…
Reference in a new issue