GstCaps * gst_caps_copy_nth (const GstCaps * caps, guint nth);
void gst_caps_truncate (GstCaps * caps);
void gst_caps_set_simple (GstCaps *caps,
- char *field, ...);
+ char *field, ...) G_GNUC_NULL_TERMINATED;
void gst_caps_set_simple_valist (GstCaps *caps,
char *field,
va_list varargs);
const GValue *value);
void gst_structure_set (GstStructure *structure,
const gchar *fieldname,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gst_structure_set_valist (GstStructure *structure,
const gchar *fieldname,
va_list varargs);
const gchar *fieldname);
void gst_structure_remove_fields (GstStructure *structure,
const gchar *fieldname,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gst_structure_remove_fields_valist (GstStructure *structure,
const gchar *fieldname,
va_list varargs);
void gst_tag_list_add (GstTagList * list,
GstTagMergeMode mode,
const gchar * tag,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gst_tag_list_add_values (GstTagList * list,
GstTagMergeMode mode,
const gchar * tag,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gst_tag_list_add_valist (GstTagList * list,
GstTagMergeMode mode,
const gchar * tag,
void gst_tag_setter_add (GstTagSetter * setter,
GstTagMergeMode mode,
const gchar * tag,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gst_tag_setter_add_values (GstTagSetter * setter,
GstTagMergeMode mode,
const gchar * tag,
- ...);
+ ...) G_GNUC_NULL_TERMINATED;
void gst_tag_setter_add_valist (GstTagSetter * setter,
GstTagMergeMode mode,
gboolean gst_element_link (GstElement *src, GstElement *dest);
gboolean gst_element_link_many (GstElement *element_1,
- GstElement *element_2, ...);
+ GstElement *element_2, ...) G_GNUC_NULL_TERMINATED;
gboolean gst_element_link_filtered (GstElement * src,
GstElement * dest,
GstCaps *filter);
void gst_element_unlink (GstElement *src, GstElement *dest);
void gst_element_unlink_many (GstElement *element_1,
- GstElement *element_2, ...);
+ GstElement *element_2, ...) G_GNUC_NULL_TERMINATED;
gboolean gst_element_link_pads (GstElement *src, const gchar *srcpadname,
GstElement *dest, const gchar *destpadname);
/* element class functions */
void gst_element_class_install_std_props (GstElementClass * klass,
- const gchar * first_name, ...);
+ const gchar * first_name, ...) G_GNUC_NULL_TERMINATED;
/* pad functions */
gboolean gst_pad_can_link (GstPad *srcpad, GstPad *sinkpad);
GstFormat *dest_format, gint64 *dest_val);
/* bin functions */
-void gst_bin_add_many (GstBin *bin, GstElement *element_1, ...);
-void gst_bin_remove_many (GstBin *bin, GstElement *element_1, ...);
+void gst_bin_add_many (GstBin *bin, GstElement *element_1, ...) G_GNUC_NULL_TERMINATED;
+void gst_bin_remove_many (GstBin *bin, GstElement *element_1, ...) G_GNUC_NULL_TERMINATED;
/* buffer functions */
GstBuffer * gst_buffer_merge (GstBuffer * buf1, GstBuffer * buf2);