mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
pad: Constructors are all not nullable
They can't possibly return NULL except in case of assertions.
This commit is contained in:
parent
92b38d2a00
commit
f6816d5412
1 changed files with 3 additions and 6 deletions
|
@ -832,8 +832,7 @@ gst_pad_get_property (GObject * object, guint prop_id,
|
|||
* will be assigned.
|
||||
* This function makes a copy of the name so you can safely free the name.
|
||||
*
|
||||
* Returns: (transfer floating) (nullable): a new #GstPad, or %NULL in
|
||||
* case of an error.
|
||||
* Returns: (transfer floating): a new #GstPad.
|
||||
*
|
||||
* MT safe.
|
||||
*/
|
||||
|
@ -854,8 +853,7 @@ gst_pad_new (const gchar * name, GstPadDirection direction)
|
|||
* will be assigned.
|
||||
* This function makes a copy of the name so you can safely free the name.
|
||||
*
|
||||
* Returns: (transfer floating) (nullable): a new #GstPad, or %NULL in
|
||||
* case of an error.
|
||||
* Returns: (transfer floating): a new #GstPad.
|
||||
*/
|
||||
GstPad *
|
||||
gst_pad_new_from_template (GstPadTemplate * templ, const gchar * name)
|
||||
|
@ -880,8 +878,7 @@ gst_pad_new_from_template (GstPadTemplate * templ, const gchar * name)
|
|||
* will be assigned.
|
||||
* This function makes a copy of the name so you can safely free the name.
|
||||
*
|
||||
* Returns: (transfer floating) (nullable): a new #GstPad, or %NULL in
|
||||
* case of an error.
|
||||
* Returns: (transfer floating): a new #GstPad.
|
||||
*/
|
||||
GstPad *
|
||||
gst_pad_new_from_static_template (GstStaticPadTemplate * templ,
|
||||
|
|
Loading…
Reference in a new issue