mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
parent
f10f4f1632
commit
5d44b1a381
1 changed files with 8 additions and 2 deletions
|
@ -679,9 +679,15 @@ GType gst_element_get_type (void);
|
|||
|
||||
/**
|
||||
* gst_element_get_name:
|
||||
* @elem: a #GstElement to set the name of.
|
||||
* @elem: a #GstElement to get the name of @elem.
|
||||
*
|
||||
* Returns a copy of the name of @elem.
|
||||
* Caller should g_free() the return value after usage.
|
||||
* For a nameless element, this returns NULL, which you can safely g_free()
|
||||
* as well.
|
||||
*
|
||||
* Returns: the name of @elem. g_free() after usage. MT safe.
|
||||
*
|
||||
* Gets the name of the element.
|
||||
*/
|
||||
#define gst_element_get_name(elem) gst_object_get_name(GST_OBJECT_CAST(elem))
|
||||
|
||||
|
|
Loading…
Reference in a new issue