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
@ -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…
x
Reference in New Issue
Block a user