How to detect dynamically loaded plugins in playbin based app ?
lucky chou
shakin at outlook.com
Wed Jul 27 02:02:16 UTC 2016
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....
Any suggestion will be appreciated.
Thanks,
-chou
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-detect-dynamically-loaded-plugins-in-playbin-based-app-tp4678856.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list