a 101 question, how to get an element by name

vanderhoffer vanderhoffer at gmail.com
Wed Jan 18 15:18:38 UTC 2017


I am aware we can use   *gst_object_set_name and gst_object_get_name* when we
have the  object, but what is the reverse, if we have the name how can we
get a reference to the object.

for example if I want to get a position for an element, 

gst_element_query_position(element, fmt, &pos);

but we only have the name,how do we create a reference for "element"?

thx
Art




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/a-101-question-how-to-get-an-element-by-name-tp4681537.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list