gst_pad_set_blocked_async callback called twice

J. Rios jrioslists at
Tue Jan 24 04:00:32 PST 2012

   I have this pipeline

playback bin
playbin2 ! audioconvert ! audioresample ! ... ! audioconvert !
audioresample ! tee  !  queue ! alsasink

record bin
queue ! audioconvert ! audioresample ! encoder ! filesink

I Want to add dynamically a record bin so I can record to file while
listening so what I does is
1. get the source pad the tee is connected
2. block that source pad
3. in the blocked callback
  3.1 add the record element to the playbin
  3.2 link the sink pad of the record element to a new created tee source
  3.2 call to unlock the previously blocked pad

This have been working for me very well for latest ubuntu releases but
fails in ubuntu oneiric.
The problem is that the blocked pad callback gets called twice. What can be
wrong ?

Thanks in advance
Juan Rios
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list