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:
Johan Boulé 2011-10-27 14:56:24 +01:00 committed by Tim-Philipp Müller
parent 852851edab
commit 3406549cf6

View file

@ -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);