Commit 3406549c authored by Johan Boulé's avatar Johan Boulé Committed by Tim-Philipp Müller
Browse files

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
parent 852851ed
......@@ -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);
......
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