mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:56:14 +00:00
play: Add missing nullable annotations
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2197>
This commit is contained in:
parent
71c4355b1c
commit
7dc976885b
2 changed files with 8 additions and 7 deletions
|
@ -307,7 +307,7 @@ gst_play_audio_info_class_init (GstPlayAudioInfoClass * klass)
|
||||||
* gst_play_audio_info_get_language:
|
* gst_play_audio_info_get_language:
|
||||||
* @info: a #GstPlayAudioInfo
|
* @info: a #GstPlayAudioInfo
|
||||||
*
|
*
|
||||||
* Returns: the language of the stream, or NULL if unknown.
|
* Returns (nullable): the language of the stream, or NULL if unknown.
|
||||||
* Since: 1.20
|
* Since: 1.20
|
||||||
*/
|
*/
|
||||||
const gchar *
|
const gchar *
|
||||||
|
|
|
@ -3339,7 +3339,7 @@ gst_play_get_media_info (GstPlay * self)
|
||||||
*
|
*
|
||||||
* A Function to get current audio #GstPlayAudioInfo instance.
|
* A Function to get current audio #GstPlayAudioInfo instance.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): current audio track.
|
* Returns: (transfer full) (nullable): current audio track.
|
||||||
*
|
*
|
||||||
* The caller should free it with g_object_unref()
|
* The caller should free it with g_object_unref()
|
||||||
* Since: 1.20
|
* Since: 1.20
|
||||||
|
@ -3372,7 +3372,7 @@ gst_play_get_current_audio_track (GstPlay * self)
|
||||||
*
|
*
|
||||||
* A Function to get current video #GstPlayVideoInfo instance.
|
* A Function to get current video #GstPlayVideoInfo instance.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): current video track.
|
* Returns: (transfer full) (nullable): current video track.
|
||||||
*
|
*
|
||||||
* The caller should free it with g_object_unref()
|
* The caller should free it with g_object_unref()
|
||||||
* Since: 1.20
|
* Since: 1.20
|
||||||
|
@ -3405,7 +3405,7 @@ gst_play_get_current_video_track (GstPlay * self)
|
||||||
*
|
*
|
||||||
* A Function to get current subtitle #GstPlaySubtitleInfo instance.
|
* A Function to get current subtitle #GstPlaySubtitleInfo instance.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): current subtitle track.
|
* Returns: (transfer full) (nullable): current subtitle track.
|
||||||
*
|
*
|
||||||
* The caller should free it with g_object_unref()
|
* The caller should free it with g_object_unref()
|
||||||
* Since: 1.20
|
* Since: 1.20
|
||||||
|
@ -3651,7 +3651,7 @@ gst_play_set_subtitle_track_enabled (GstPlay * self, gboolean enabled)
|
||||||
/**
|
/**
|
||||||
* gst_play_set_visualization:
|
* gst_play_set_visualization:
|
||||||
* @play: #GstPlay instance
|
* @play: #GstPlay instance
|
||||||
* @name: visualization element obtained from
|
* @name (nullable): visualization element obtained from
|
||||||
* #gst_play_visualizations_get()
|
* #gst_play_visualizations_get()
|
||||||
*
|
*
|
||||||
* Returns: %TRUE if the visualizations was set correctly. Otherwise,
|
* Returns: %TRUE if the visualizations was set correctly. Otherwise,
|
||||||
|
@ -3692,7 +3692,8 @@ error_no_element:
|
||||||
* gst_play_get_current_visualization:
|
* gst_play_get_current_visualization:
|
||||||
* @play: #GstPlay instance
|
* @play: #GstPlay instance
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): Name of the currently enabled visualization.
|
* Returns: (transfer full) (nullable): Name of the currently enabled
|
||||||
|
* visualization.
|
||||||
* g_free() after usage.
|
* g_free() after usage.
|
||||||
* Since: 1.20
|
* Since: 1.20
|
||||||
*/
|
*/
|
||||||
|
@ -4440,7 +4441,7 @@ gst_play_config_get_seek_accurate (const GstStructure * config)
|
||||||
* - pixel-aspect-ratio of type GST_TYPE_FRACTION
|
* - pixel-aspect-ratio of type GST_TYPE_FRACTION
|
||||||
* Except for GST_PLAY_THUMBNAIL_RAW_NATIVE format, if no config is set, pixel-aspect-ratio would be 1/1
|
* Except for GST_PLAY_THUMBNAIL_RAW_NATIVE format, if no config is set, pixel-aspect-ratio would be 1/1
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): Current video snapshot sample or %NULL on failure
|
* Returns: (transfer full) (nullable): Current video snapshot sample or %NULL on failure
|
||||||
*
|
*
|
||||||
* Since: 1.20
|
* Since: 1.20
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue