Are you changed the queue, tee elements into playing state.<br>Because pad_push returns - wrong state, if pad in wrong state.<br><br><div class="gmail_quote">On Sat, Jan 2, 2010 at 2:17 PM, Miron Kunz <span dir="ltr"><<a href="mailto:mironoz@mail.ru">mironoz@mail.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I am trying to link a next sink like this:<br>
<br>
1) start pipeline : src!tee ! queue!sink1<br>
2) pipeline is in PLAYING<br>
3) block Src's src pad and from call back add new sink2:<br>
src ! tee ! queue !sink1<br>
! queue !sink2<br>
4) set sink2 to PLAYING<br>
5) unblock Src's src pad<br>
6) Src's task is PAUSED with this message:<br>
basesrc gstbasesrc.c:2326:gst_base_src_loop:<camera> pausing after gst_pad_push() = wrong-state<br>
<br>
The problem is that source's task is paused and there is no flow through the pipeline.<br>
<br>
What is the correct way to deal with it?<br>
<br>
<br>
Thanks,<br>
Miron<br>
<br>
<br>
------------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Verizon Developer Community<br>
Take advantage of Verizon's best-in-class app development support<br>
A streamlined, 14 day to market process makes app distribution fast and easy<br>
Join now and get one step closer to millions of Verizon customers<br>
<a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>