alsasrc: different behaviour and clocking between 1.2 and 1.1.4

Robert Krakora rob.krakora at messagenetsystems.com
Fri Oct 11 20:13:32 CEST 2013


So, running this from the command line works but not from your Python
application?

gst-launch alsasrc ! queue2 ! tee name=t ! queue2 ! fakesink sync=TRUE t. !
queue2 ! fakesink sync=TRUE

It runs for me under 1.2 on the command line.


On Fri, Oct 11, 2013 at 1:45 PM, Adrian Pardini <listas at tangopardo.com.ar>wrote:

> 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
>



-- 

Rob Krakora,
Senior Software Engineer

MessageNet Systems
101 E Carmel Dr, Suite 105
Carmel, IN 46032

MessageNetSystems.com<http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage>
Rob.Krakora at MessageNetSystems.com <rob.krakora at messagenetsystems.com>
P: 317.566.1677, 212
F: 317.663.0808

For the latest news, information, and blogs, please be sure to visit,
follow, and like us...

<http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog>
   <http://www.youtube.com/user/MessageNetConnection/feed>
<http://www.linkedin.com/company/messagenet-systems>
   <http://twitter.com/MessageNet>  <http://www.facebook.com/MessageNetsystems>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131011/e0f4ba74/attachment.html>


More information about the gstreamer-devel mailing list