mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
mpegst: Fix ownership of return value
This inherits from the same rule as gst_buffer_add_meta ``` gst-mpegtspesmetadatameta.h:98: Warning: GstMpegts: gst_buffer_add_mpegts_pes_metadata_meta: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip) ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6146>
This commit is contained in:
parent
ccf544a50e
commit
62b9049d20
2 changed files with 3 additions and 3 deletions
|
@ -4863,10 +4863,10 @@ profiles defined in Annex A for service-compatible stereoscopic 3D services</doc
|
|||
<member name="c3780" value="8" c:identifier="GST_MPEGTS_TRANSMISSION_MODE_C3780">
|
||||
</member>
|
||||
</enumeration>
|
||||
<function name="buffer_add_mpegts_pes_metadata_meta" c:identifier="gst_buffer_add_mpegts_pes_metadata_meta" version="1.24" introspectable="0">
|
||||
<function name="buffer_add_mpegts_pes_metadata_meta" c:identifier="gst_buffer_add_mpegts_pes_metadata_meta" version="1.24">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/mpegts/gst-mpegtspesmetadatameta.h">Creates and adds a #GstMpegtsPESMetadataMeta to a @buffer.</doc>
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/mpegts/gst-mpegtspesmetadatameta.h"/>
|
||||
<return-value transfer-ownership="full">
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/mpegts/gst-mpegtspesmetadatameta.h">a newly created #GstMpegtsPESMetadataMeta</doc>
|
||||
<type name="PESMetadataMeta" c:type="GstMpegtsPESMetadataMeta*"/>
|
||||
</return-value>
|
||||
|
|
|
@ -95,7 +95,7 @@ struct _GstMpegtsPESMetadataMeta {
|
|||
*
|
||||
* Creates and adds a #GstMpegtsPESMetadataMeta to a @buffer.
|
||||
*
|
||||
* Returns: (transfer full): a newly created #GstMpegtsPESMetadataMeta
|
||||
* Returns: (transfer none): a newly created #GstMpegtsPESMetadataMeta
|
||||
*
|
||||
* Since: 1.24
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue