gst_bin_get_by_name returns NULL

Mikl michael.yarochkin at timetronics.be
Thu Oct 27 13:26:39 UTC 2016


Hello, Marcin

How you can see here
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBin.html#gst-bin-get-by-name
It finding element by name.
But elements in you pipeline have no name.

If you will make elements like this
GstElement* element= gst_element_factory_make(videotestsrc ,
"videotestsrc");
you can find it latter by name
GstElement* sink = gst_bin_get_by_name(GST_BIN(pipeline), "videotestsrc");

Mikl



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-bin-get-by-name-returns-NULL-tp4680286p4680288.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list