diff options
author | Rafostar <40623528+Rafostar@users.noreply.github.com> | 2020-11-05 09:11:03 +0100 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-11-05 08:57:51 +0000 |
commit | 5c31aeaaa4a7a7e29f7e154f2805d5a5afd38fbf (patch) | |
tree | e956cffcc0bf310ed132e7d5e8150b6a00ef9402 /gst-libs/gst/player | |
parent | 40f1a34d10a5a221f5adac84149e125f06e1b666 (diff) | |
download | gstreamer-plugins-bad-5c31aeaaa4a7a7e29f7e154f2805d5a5afd38fbf.tar.gz |
doc: player: mention that get_pipeline method needs unref
All other methods in docs clearly mention that an unref is needed, so should `get_pipeline()`. #1450
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1764>
Diffstat (limited to 'gst-libs/gst/player')
-rw-r--r-- | gst-libs/gst/player/gstplayer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c index 04148fa1d..45705c671 100644 --- a/gst-libs/gst/player/gstplayer.c +++ b/gst-libs/gst/player/gstplayer.c @@ -3680,7 +3680,9 @@ gst_player_set_mute (GstPlayer * self, gboolean val) * gst_player_get_pipeline: * @player: #GstPlayer instance * - * Returns: (transfer full): The internal playbin instance + * Returns: (transfer full): The internal playbin instance. + * + * The caller should free it with g_object_unref() */ GstElement * gst_player_get_pipeline (GstPlayer * self) |