From: Philippe Normand Date: Thu, 5 Nov 2020 17:14:22 +0000 (+0000) Subject: player: Fix get_current_subtitle_track annotation X-Git-Tag: 1.19.3~507^2~1006 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4df91cd9b78e3c15cc9c100a3df2094ffc3183b;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c index 45705c6..b72c8de 100644 --- a/gst-libs/gst/player/gstplayer.c +++ b/gst-libs/gst/player/gstplayer.c @@ -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() */