padtemplate: Constructors are all nullable as they check the template name

This commit is contained in:
Sebastian Dröge 2019-01-29 15:49:50 +02:00 committed by Sebastian Dröge
parent ef8f045ff9
commit 92b38d2a00

View 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
*/