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>
This commit is contained in:
Rafostar 2020-11-05 09:11:03 +01:00 committed by GStreamer Merge Bot
parent 40f1a34d10
commit 5c31aeaaa4

View file

@ -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)