[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Re: gst_child_proxy interface
From:       jmz <jmzheng () gmail ! com>
Date:       2017-09-26 9:48:33
Message-ID: 1506419313711-0.post () n4 ! nabble ! com
[Download RAW message or body]

filnet wrote
> Getting elements by name is not reliable unless you set the element names
> yourself.As you observed each element potentially has its own naming
> scheme.
> Look at the GstBin functions for better alternatives :
> https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBin.html
> For example you can get elements by interface with
> gst_bin_get_by_interface().
> Or you can connect to the "element-added" signal (in GstBin again) to be
> notified of elements being added and do your logic then.

Hi Philippe,

Thank you for your suggestions. I chose to connect to the "element-added"
signal for further manipulation on the element added to decodebin.

With regard to gst_bin_get_by_interface(), I do not know how to set the
interface. I saw GST_TYPE_URI_HANDLER for filesrc and GST_TYPE_TAG_SETTER
for muxer. What interfaces should be used to look for video decoder, video
decoder, and parser inside decodebin? 

Thanks




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic