[gst-devel] Dynamically manipulating the pipeline while it is running

yuryk yuryk at exent.com
Mon May 25 18:54:32 CEST 2009


Hello, everybody!
I need to do the following:

1. start a simple pipeline playing some long background music (bg.pcm in
this case)
2. while it is playing, mix other (shorter) sounds into it (short.pcm) at
some arbitrary times

For simplicity, of course, all files are in the same pcm format

http://www.nabble.com/file/p23709957/q.jpg 

i have tried the above pipeline, and it only plays the background, and only
if i do not add any dynamic parts to it. Even if i only call
gst_element_get_pad() to get the additional sink pad of the adder, the
entire pipeline seems to not play.
I tried activating the pads and changing state of the dynamic part (i made
it a bin with a ghost pad), still no good.

What's the correct way to achieve this?


-- 
View this message in context: http://www.nabble.com/Dynamically-manipulating-the-pipeline-while-it-is-running-tp23709957p23709957.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list