mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
audio,video: Add out caller-allocates
to init and from_caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1005>
This commit is contained in:
parent
7e16eed522
commit
a263919f06
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue