mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
video: audio: fix GI annotations for proxy caps function
Add the annotations to parameters that can be null and also for stating the ownership of the returned caps
This commit is contained in:
parent
dfc82f3466
commit
17a7fac1a1
2 changed files with 6 additions and 6 deletions
|
@ -1347,14 +1347,14 @@ refuse_caps:
|
||||||
/**
|
/**
|
||||||
* gst_audio_encoder_proxy_getcaps:
|
* gst_audio_encoder_proxy_getcaps:
|
||||||
* @enc: a #GstAudioEncoder
|
* @enc: a #GstAudioEncoder
|
||||||
* @caps: initial caps
|
* @caps: (allow-none): initial caps
|
||||||
* @filter: filter caps
|
* @filter: (allow-none): filter caps
|
||||||
*
|
*
|
||||||
* Returns caps that express @caps (or sink template caps if @caps == NULL)
|
* Returns caps that express @caps (or sink template caps if @caps == NULL)
|
||||||
* restricted to channel/rate combinations supported by downstream elements
|
* restricted to channel/rate combinations supported by downstream elements
|
||||||
* (e.g. muxers).
|
* (e.g. muxers).
|
||||||
*
|
*
|
||||||
* Returns: a #GstCaps owned by caller
|
* Returns: (transfer-full): a #GstCaps owned by caller
|
||||||
*/
|
*/
|
||||||
GstCaps *
|
GstCaps *
|
||||||
gst_audio_encoder_proxy_getcaps (GstAudioEncoder * enc, GstCaps * caps,
|
gst_audio_encoder_proxy_getcaps (GstAudioEncoder * enc, GstCaps * caps,
|
||||||
|
|
|
@ -667,14 +667,14 @@ parse_fail:
|
||||||
/**
|
/**
|
||||||
* gst_video_encoder_proxy_getcaps:
|
* gst_video_encoder_proxy_getcaps:
|
||||||
* @enc: a #GstVideoEncoder
|
* @enc: a #GstVideoEncoder
|
||||||
* @caps: initial caps
|
* @caps: (allow-none): initial caps
|
||||||
* @filter: filter caps
|
* @filter: (allow-none): filter caps
|
||||||
*
|
*
|
||||||
* Returns caps that express @caps (or sink template caps if @caps == NULL)
|
* Returns caps that express @caps (or sink template caps if @caps == NULL)
|
||||||
* restricted to resolution/format/... combinations supported by downstream
|
* restricted to resolution/format/... combinations supported by downstream
|
||||||
* elements (e.g. muxers).
|
* elements (e.g. muxers).
|
||||||
*
|
*
|
||||||
* Returns: a #GstCaps owned by caller
|
* Returns: (transfer-full): a #GstCaps owned by caller
|
||||||
*/
|
*/
|
||||||
GstCaps *
|
GstCaps *
|
||||||
gst_video_encoder_proxy_getcaps (GstVideoEncoder * encoder, GstCaps * caps,
|
gst_video_encoder_proxy_getcaps (GstVideoEncoder * encoder, GstCaps * caps,
|
||||||
|
|
Loading…
Reference in a new issue