On Di, 2016-07-26 at 19:02 -0700, lucky chou wrote:
> Hi, I need to write a tool, playbin2 based on of app real-time print
> automatically loaded element's info,such as name,rank,
> obj addr,etc...
> That is to say, when loading a plugin into bin immediately use signals or
> events or message to notify app to print it.
> If do not modify the SDK's code, there is a way to do it?
>
> I read the gstbin.c code, see there is a element-added signal,
> when a element to join bin, will emit a element-added signal.
>
> But only send to its parent bin, that is, will not be nested into a more
> upper bin.
> For example, uridecodebin can receive an signal when decodebin2 is added ,
> but will
> not receive element-added signal when a decoder(such as
> avdec_aac,avdec_h264...)
> element plugged in....
In GStreamer 1.9.1 and newer there's deep-element-added and deep-
element-removed, which will give you information about elements
added/removed somewhere deep inside playbin.
--
Sebastian Dröge, Centricular Ltd ·
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel