[gst-devel] Bus sharing among various bin

Wim Taymans wim at fluendo.com
Thu Jul 6 18:43:07 CEST 2006


On Thu, 2006-07-06 at 14:13 +0200, David Giguet wrote:
> I am currently developping an application that runs various bins at the
> same time and I would like that all these bins share one common bus or
> one message reception thread in order to avoid creation of  an extra
> thread for each bin.  Do you have some  nice tips to do that ?
> 
Creating a new bus and call gst_element_set_bus() on all the bins should
do the trick. All bins will post to this bus then which you can then
poll or use its GSource in a mainloop. This also works when working with
multiple pipelines.

Regards,
Wim

> Thanks,
> 
> David
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-- 
Wim Taymans <wim at fluendo.com>





More information about the gstreamer-devel mailing list