alsasrc: different behaviour and clocking between 1.2 and 1.1.4

Adrian Pardini listas at tangopardo.com.ar
Fri Oct 11 19:45:16 CEST 2013


On 11 October 2013 13:35, Robert Krakora
<rob.krakora at messagenetsystems.com> wrote:
>
> Yes...create the pipeline with tee and request the other pad for your dynamically linked bin and block it, start playing, link the blocked pad with the dynamically allocated bin and then unblock it.


Same as before :(

I did:

def pad_block_cb(pad, probe_info, data):
    pad, sw = data
    target = sw.get_static_pad('audio')
    pad.link(target)
    return Gst.PadProbeReturn.REMOVE


pad = tee.get_request_pad('src_%u')
# same with BLOCK_DOWNSTREAM | BLOCK_UPSTREAM
pad.add_probe(Gst.PadProbeType.BLOCK_DOWNSTREAM, pad_block_cb, (pad, sw))

instead of plain linking the tee to the bin.

Thanks for your time


More information about the gstreamer-devel mailing list