padtemplate: Constructors are all nullable as they check the template name
authorSebastian Dröge <sebastian@centricular.com>
Tue, 29 Jan 2019 13:49:50 +0000 (15:49 +0200)
committerSebastian Dröge <slomo@coaxion.net>
Tue, 29 Jan 2019 14:49:28 +0000 (14:49 +0000)
gst/gstpadtemplate.c

index e17da0bb4b74928a6958a70aa94e56b592b2ee19..952f07e291ff74736cb448b42ab1deff46de9814 100644 (file)
@@ -331,7 +331,7 @@ gst_static_pad_template_get (GstStaticPadTemplate * pad_template)
  *
  * Converts a #GstStaticPadTemplate into a #GstPadTemplate with a type.
  *
- * Returns: (transfer floating): a new #GstPadTemplate.
+ * Returns: (transfer floating) (nullable): a new #GstPadTemplate.
  *
  * Since: 1.14
  */
@@ -408,7 +408,7 @@ gst_pad_template_new (const gchar * name_template,
  * Creates a new pad template with a name according to the given template
  * and with the given arguments.
  *
- * Returns: (transfer floating): a new #GstPadTemplate.
+ * Returns: (transfer floating) (nullable): a new #GstPadTemplate.
  *
  * Since: 1.14
  */