gst_child_proxy interface

jmz jmzheng at gmail.com
Tue Sep 26 03:31:33 UTC 2017


Hi

I found why the gst_child_proxy_get() does not work with "h264parse::name."
The child's name should be h264parse0, not h264parse. However, if the child
is avdec_h264, its name is avdec_h264-0. How can I know a child's name is
child-name0 or child-name-0? A working way is to add "0" or "-0" to the
child's name according to the element factory name.

Another question is how to check whether an element (e.g. h264parse) exists
in decodebin. I can use gst_child_proxy_get_child_by_name () to check if an
object is returned for the given name. Is there another better way to do
this?
 
Thanks




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list