mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
encoding-profile: Fix nullability of (de)serialization functions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6775>
This commit is contained in:
parent
bfb7cf7d0b
commit
ec42cedf63
2 changed files with 4 additions and 6 deletions
|
@ -1738,7 +1738,7 @@ subtitles), are currently ignored.</doc>
|
|||
GstEncodingProfile. Refer to the encoding-profile documentation for details
|
||||
on the format.</doc>
|
||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.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/pbutils/encoding-profile.c">A newly created GstEncodingProfile or NULL if the
|
||||
input string is not a valid encoding profile serialization format.</doc>
|
||||
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
|
||||
|
@ -2197,8 +2197,7 @@ single segment before the encoder, #FALSE otherwise.</doc>
|
|||
serialization format".</doc>
|
||||
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.h"/>
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.c">A string representation of the GstEncodingProfile,
|
||||
or NULL if the input is invalid.</doc>
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.c">A string representation of the GstEncodingProfile.</doc>
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
|
|
|
@ -2078,7 +2078,7 @@ error:
|
|||
*
|
||||
* Since: 1.26
|
||||
*
|
||||
* Returns: (transfer full): A newly created GstEncodingProfile or NULL if the
|
||||
* Returns: (transfer full) (nullable): A newly created GstEncodingProfile or NULL if the
|
||||
* input string is not a valid encoding profile serialization format.
|
||||
*/
|
||||
GstEncodingProfile *
|
||||
|
@ -2178,8 +2178,7 @@ serialize_profile (GString * res, GstEncodingProfile * profile)
|
|||
*
|
||||
* Since: 1.26
|
||||
*
|
||||
* Returns: (transfer full): A string representation of the GstEncodingProfile,
|
||||
* or NULL if the input is invalid.
|
||||
* Returns: (transfer full): A string representation of the GstEncodingProfile.
|
||||
*/
|
||||
gchar *
|
||||
gst_encoding_profile_to_string (GstEncodingProfile * profile)
|
||||
|
|
Loading…
Reference in a new issue