How to remove a source of a Adder while playing?

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Apr 8 01:28:18 PDT 2011


On Fri, 2011-04-08 at 00:06 -0300, Lucas Alberto wrote:

Hi Lucas,

> I'm trying to remove dynamically a audio input that is linked to a
> Adder element. Does someone know how to remove a source element and
> let the Adder continue mixing the other sources?
> 
> I've googled a lot to find the answer but I only found references to
> removing a branch of a "Tee". I don't know how to adapt the steps used
> in the "Tee case" because the Adder element is the inverse of a Tee.

Have you tried just unlinking the input you don't need any longer and
then releasing the now-unlinked adder pad using
gst_element_release_request_pad() ?

 Cheers
  -Tim



More information about the gstreamer-devel mailing list