From: Marijn Suijten Date: Tue, 12 Jan 2021 09:34:41 +0000 (+0100) Subject: audio,video: Add `out caller-allocates` to init and from_caps X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a263919f06ad502ff83a2e9731d7b6b42c8071ee;p=platform%2Fupstream%2Fgst-plugins-base.git audio,video: Add `out caller-allocates` to init and from_caps Part-of: --- diff --git a/gst-libs/gst/audio/audio-info.c b/gst-libs/gst/audio/audio-info.c index b18c2d9..2fcc671 100644 --- a/gst-libs/gst/audio/audio-info.c +++ b/gst-libs/gst/audio/audio-info.c @@ -101,7 +101,7 @@ gst_audio_info_new (void) /** * gst_audio_info_init: - * @info: a #GstAudioInfo + * @info: (out caller-allocates): a #GstAudioInfo * * Initialize @info with default values. */ @@ -181,7 +181,7 @@ gst_audio_info_set_format (GstAudioInfo * info, GstAudioFormat format, /** * gst_audio_info_from_caps: - * @info: a #GstAudioInfo + * @info: (out caller-allocates): a #GstAudioInfo * @caps: a #GstCaps * * Parse @caps and update @info. diff --git a/gst-libs/gst/video/video-info.c b/gst-libs/gst/video/video-info.c index 1a6117d..43f2435 100644 --- a/gst-libs/gst/video/video-info.c +++ b/gst-libs/gst/video/video-info.c @@ -117,7 +117,7 @@ static gboolean fill_planes (GstVideoInfo * info, /** * gst_video_info_init: - * @info: a #GstVideoInfo + * @info: (out caller-allocates): a #GstVideoInfo * * Initialize @info with default values. */ @@ -385,7 +385,7 @@ gst_video_field_order_from_string (const gchar * order) /** * gst_video_info_from_caps: - * @info: a #GstVideoInfo + * @info: (out caller-allocates): #GstVideoInfo * @caps: a #GstCaps * * Parse @caps and update @info.