summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2020-11-05 17:14:22 +0000
committerTim-Philipp Müller <tim@centricular.com>2020-11-25 16:41:16 +0000
commit2f2e8a93e653eefa4ea7f6e1239e0952c002ff58 (patch)
tree02642e616a0e4235e48b24a4fbfcb222c484fe61
parent42df886601d7b689cc94483f84dbdb952a1ffab8 (diff)
downloadgstreamer-plugins-bad-2f2e8a93e653eefa4ea7f6e1239e0952c002ff58.tar.gz
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/1834>
-rw-r--r--gst-libs/gst/player/gstplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c
index 04148fa1d..be9a4ddf6 100644
--- a/gst-libs/gst/player/gstplayer.c
+++ b/gst-libs/gst/player/gstplayer.c
@@ -3791,7 +3791,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()
*/