From c70d263e485e5cc5b3f6d1bddce206e7aa78a68c Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Wed, 13 Jan 2021 11:07:47 +0100 Subject: [PATCH] video/video-frame: @frame in video_frame_map is out caller-allocates Part-of: --- gst-libs/gst/video/video-frame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/video/video-frame.c b/gst-libs/gst/video/video-frame.c index 74b548d146..04500bd2de 100644 --- a/gst-libs/gst/video/video-frame.c +++ b/gst-libs/gst/video/video-frame.c @@ -49,7 +49,7 @@ video_frame_get_perf_category (void) /** * gst_video_frame_map_id: - * @frame: pointer to #GstVideoFrame + * @frame: (out caller-allocates): pointer to #GstVideoFrame * @info: a #GstVideoInfo * @buffer: the buffer to map * @id: the frame id to map @@ -188,7 +188,7 @@ invalid_size: /** * gst_video_frame_map: - * @frame: pointer to #GstVideoFrame + * @frame: (out caller-allocates): pointer to #GstVideoFrame * @info: a #GstVideoInfo * @buffer: the buffer to map * @flags: #GstMapFlags