mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 04:05:34 +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>
|
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"/>
|
<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
|
<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>
|
will point to the #GError).</doc>
|
||||||
<type name="Gst.Sample" c:type="GstSample*"/>
|
<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.
|
* 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).
|
* will point to the #GError).
|
||||||
*/
|
*/
|
||||||
GstSample *
|
GstSample *
|
||||||
|
|
Loading…
Reference in a new issue