video/video-frame: @frame in video_frame_map is out caller-allocates

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1005>
This commit is contained in:
Marijn Suijten 2021-01-13 11:07:47 +01:00 committed by GStreamer Merge Bot
parent a263919f06
commit c70d263e48

View file

@ -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