[gst-devel] Can an element dynamically add/remove another element in the pipeline?

Stefan Kost ensonic at hora-obscura.de
Sun Nov 2 22:14:55 CET 2008


hi,
James Ausmus schrieb:
> Hi, I have a question that I'm not seeing a clear answer to:
> 
> If I have a pipeline set up as such (simplified):
> 
> Source->Decode'and'Sink
> 
> Could the "Decode'and'Sink", and any arbitrary time during the
> execution of the pipeline (while the stream is playing), stop actually
> sinking and add another element to the pipeline, like such:
> 
> Source->Decode'and'Sink(but not really sink right now)->Different Sink
> 
> and then, at some arbitrary point later, remove the "Different Sink"
> element and begin actually sinking again?

Yes, elements can be dynamically relinked. Its unfortunately not totally free.
You need to read, understand and follow gstreamer/docs/design/part-block.txt

Stefan

> 
> Thanks!
> 
> -James
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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