how to find playbin plugin by name

suspension manusha1980 at gmail.com
Tue Aug 25 12:04:15 PDT 2015


OK, this is what I am doing.

GstElement* pipeline = gst_parse_launch("playbin name=my_play_bin
uri=file://<media_file> suburi=<sub_file>", &error);

And later I call:
GstElement* element = gst_bin_get_by_name(GST_BIN(pipeline), "my_play_bin");

and it returns NULL.

the passed pipeline is actually provided dynamically and program does not
know about its structure, so hard coding the creation of the pipeline is not
possible.






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/how-to-find-playbin-plugin-by-name-tp4673327p4673339.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list