diff options
author | Aurélien Zanelli <aurelien.zanelli@parrot.com> | 2016-07-19 14:45:53 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-07-20 12:34:00 +0100 |
commit | ec2723d3662b0e1c2c2f81ca911d153f5041313b (patch) | |
tree | c634b02ebbaf800ab41634743f38de0a1d93c7b1 /libs/gst/base | |
parent | b08b97c99a2c4fe797020af46390eadc6188d674 (diff) |
collectpads: add g-i transfer annotations to peek/pop/read_buffer/take_buffer functions
https://bugzilla.gnome.org/show_bug.cgi?id=768948
Diffstat (limited to 'libs/gst/base')
-rw-r--r-- | libs/gst/base/gstcollectpads.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libs/gst/base/gstcollectpads.c b/libs/gst/base/gstcollectpads.c index 7358cb3663..4658ef3e1c 100644 --- a/libs/gst/base/gstcollectpads.c +++ b/libs/gst/base/gstcollectpads.c @@ -958,8 +958,8 @@ gst_collect_pads_stop (GstCollectPads * pads) * * MT safe. * - * Returns: The buffer in @data or %NULL if no buffer is queued. - * should unref the buffer after usage. + * Returns: (transfer full) (nullable): The buffer in @data or %NULL if no + * buffer is queued. should unref the buffer after usage. */ GstBuffer * gst_collect_pads_peek (GstCollectPads * pads, GstCollectData * data) @@ -990,8 +990,8 @@ gst_collect_pads_peek (GstCollectPads * pads, GstCollectData * data) * * MT safe. * - * Returns: (transfer full): The buffer in @data or %NULL if no buffer was - * queued. You should unref the buffer after usage. + * Returns: (transfer full) (nullable): The buffer in @data or %NULL if no + * buffer was queued. You should unref the buffer after usage. */ GstBuffer * gst_collect_pads_pop (GstCollectPads * pads, GstCollectData * data) @@ -1157,9 +1157,9 @@ gst_collect_pads_flush (GstCollectPads * pads, GstCollectData * data, * * MT safe. * - * Returns: (transfer full): A sub buffer. The size of the buffer can be less that requested. - * A return of %NULL signals that the pad is end-of-stream. - * Unref the buffer after use. + * Returns: (transfer full) (nullable): A sub buffer. The size of the buffer can + * be less that requested. A return of %NULL signals that the pad is + * end-of-stream. Unref the buffer after use. */ GstBuffer * gst_collect_pads_read_buffer (GstCollectPads * pads, GstCollectData * data, @@ -1197,9 +1197,9 @@ gst_collect_pads_read_buffer (GstCollectPads * pads, GstCollectData * data, * * MT safe. * - * Returns: A sub buffer. The size of the buffer can be less that requested. - * A return of %NULL signals that the pad is end-of-stream. - * Unref the buffer after use. + * Returns: (transfer full) (nullable): A sub buffer. The size of the buffer can + * be less that requested. A return of %NULL signals that the pad is + * end-of-stream. Unref the buffer after use. */ GstBuffer * gst_collect_pads_take_buffer (GstCollectPads * pads, GstCollectData * data, |