[gst-devel] Help about dynamic change of a pipeline in a bin

Stefan Kost ensonic at hora-obscura.de
Wed May 6 21:25:02 CEST 2009


Luca Ognibene schrieb:
> On Tue, May 05, 2009 at 04:40:11PM +0300, Stefan Kost wrote:
>>>> I do exactly that in c:
>>>> http://buzztard.svn.sourceforge.net/viewvc/buzztard/trunk/buzztard/src/lib/core/machine.c?view=markup
>>>> Search for bt_machine_request_new_pad()
>>>>
>>>>     
>>> Hi Stefan!
>>> I've tried to look at your source code but it seems that on
>>> bt_machine_request_new_pad you're just requesting a pad from a tee element.
>>> My problem is that i would like to also start and attach a bin while the
>>> pipeline is playing. If you know any program that does something like this
>>> (c or python it's not a problem)..
>>>   
>> You could use an iterator.
> 
> What that would give me? It isn't so obvious looking at the docs.. Have you
> tried my very simple test case? do you need more info/logs or so?

Sorry, I haven't. With the iterator you could safely iterate the children in the
bin to look for the element, where you want to crete the requestpad.

Stefan

> 
> ciao
> Luca
> 
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> 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