mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
gstpad: Specify transfer full for gst_pad_get_caps()
It increments the reference count of the returned caps.
This commit is contained in:
parent
42fcb1175b
commit
86656b44af
1 changed files with 1 additions and 1 deletions
|
@ -2425,7 +2425,7 @@ gst_pad_get_current_caps (GstPad * pad)
|
|||
* Note that this function does not return writable #GstCaps, use
|
||||
* gst_caps_make_writable() before modifying the caps.
|
||||
*
|
||||
* Returns: the caps of the pad with incremented ref-count.
|
||||
* Returns: (transfer full): the caps of the pad with incremented ref-count.
|
||||
*/
|
||||
GstCaps *
|
||||
gst_pad_get_caps (GstPad * pad, GstCaps * filter)
|
||||
|
|
Loading…
Reference in a new issue