projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42fcb11
)
gstpad: Specify transfer full for gst_pad_get_caps()
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Mon, 10 Oct 2011 14:52:43 +0000
(16:52 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Mon, 10 Oct 2011 14:55:19 +0000
(16:55 +0200)
It increments the reference count of the returned caps.
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
a99ab67
..
fbec562
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-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)