mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
player: Fix get_current_subtitle_track annotation
As the info returned is a new object, the annotation should be transfer-full, similarly to the get_current_{audio,video}_track() implementations. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1775>
This commit is contained in:
parent
8e6ad8267f
commit
d4df91cd9b
1 changed files with 1 additions and 1 deletions
|
@ -3793,7 +3793,7 @@ gst_player_get_current_video_track (GstPlayer * self)
|
|||
*
|
||||
* A Function to get current subtitle #GstPlayerSubtitleInfo instance.
|
||||
*
|
||||
* Returns: (transfer none): current subtitle track.
|
||||
* Returns: (transfer full): current subtitle track.
|
||||
*
|
||||
* The caller should free it with g_object_unref()
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue