mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
pad: add 'transfer full' and 'nullable' annotations to gst_pad_get_current_caps
and also change the description accordingly since function returns an incremented caps object or NULL if there is no caps set. https://bugzilla.gnome.org/show_bug.cgi?id=763912
This commit is contained in:
parent
53f2fb93e8
commit
b7cffa4522
1 changed files with 2 additions and 1 deletions
|
@ -2632,7 +2632,8 @@ gst_pad_has_current_caps (GstPad * pad)
|
|||
* Gets the capabilities currently configured on @pad with the last
|
||||
* #GST_EVENT_CAPS event.
|
||||
*
|
||||
* Returns: the current caps of the pad with incremented ref-count.
|
||||
* Returns: (transfer full) (nullable): the current caps of the pad with
|
||||
* incremented ref-count or %NULL when pad has no caps. Unref after usage.
|
||||
*/
|
||||
GstCaps *
|
||||
gst_pad_get_current_caps (GstPad * pad)
|
||||
|
|
Loading…
Reference in a new issue