mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
video: convertframe: Fix annotation of gst_video_convert_sample()
The returned sample is pulled from appsink which transfers its ownership. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4629>
This commit is contained in:
parent
a0ac1cccbf
commit
b115756338
2 changed files with 2 additions and 2 deletions
|
@ -17785,7 +17785,7 @@ The output caps can be any raw video formats or any image formats (jpeg, png, ..
|
|||
|
||||
The width, height and pixel-aspect-ratio can also be specified in the output caps.</doc>
|
||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/video/video.h"/>
|
||||
<return-value transfer-ownership="full">
|
||||
<return-value transfer-ownership="full" nullable="1">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/video/convertframe.c">The converted #GstSample, or %NULL if an error happened (in which case @err
|
||||
will point to the #GError).</doc>
|
||||
<type name="Gst.Sample" c:type="GstSample*"/>
|
||||
|
|
|
@ -409,7 +409,7 @@ link_failed:
|
|||
*
|
||||
* The width, height and pixel-aspect-ratio can also be specified in the output caps.
|
||||
*
|
||||
* Returns: The converted #GstSample, or %NULL if an error happened (in which case @err
|
||||
* Returns: (nullable) (transfer full): The converted #GstSample, or %NULL if an error happened (in which case @err
|
||||
* will point to the #GError).
|
||||
*/
|
||||
GstSample *
|
||||
|
|
Loading…
Reference in a new issue