[gst-devel] Plugin to listen to GstBus

Stefan Kost ensonic at hora-obscura.de
Thu Jun 24 22:59:43 CEST 2010


Am 24.06.2010 02:11, schrieb Florent:
>     If one element does feature extraction and the next element acts on
>     it, you can
>     use a synchronized downstream event to pass the feature data as a
>     GstStructure
>     to the next element (before pushing the buffer).
>     If you want to sent lots of data, as GstBuffer might be more
>     appropriate as Mike
>     suggested.
> 
> 
> Out of curiosity, what if you needed to communicate with another plugin
> than the next one ?

Still an event. Elements should pass it through. This would become difficult if
the receiving element is on a different branch. Maybe
gst_element_send_event(parent, event);

Stefan

> 
> FLo
> 
> 
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list