gst_pad_set_blocked_async callback called twice

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


Hello,
   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
pad
  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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120124/12b20bf3/attachment.htm>


More information about the gstreamer-devel mailing list