player: Fix get_current_subtitle_track annotation
authorPhilippe Normand <philn@igalia.com>
Thu, 5 Nov 2020 17:14:22 +0000 (17:14 +0000)
committerPhilippe Normand <philn@igalia.com>
Wed, 25 Nov 2020 11:30:16 +0000 (11:30 +0000)
commitd4df91cd9b78e3c15cc9c100a3df2094ffc3183b
tree2ecdc8a13e6e48921083eb87204fa6345bd0d6a1
parent8e6ad8267f4b60389179c9adf42bd5048b717a20
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>
gst-libs/gst/player/gstplayer.c