<div>Hi, </div>
<div>&nbsp;</div>
<div>I approve the idea of setting leaky.</div>
<div>&nbsp;</div>
<div>Otherwise I would be very interested by an output switch, even if my problem is quite different (network streaming with UDP and RTSP server), but it remains unclear to me how to do this.<br>&nbsp;</div>
<div>Best regards,<br>Florent</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">2007/11/27, Stefan Kost &lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>Jaap A. Haitsma schrieb:<br>&gt; On Nov 19, 2007 9:05 PM, Jaap A. Haitsma &lt;<a href="mailto:jaap@haitsma.org">
jaap@haitsma.org</a>&gt; wrote:<br>&gt;&gt; On Nov 19, 2007 8:56 PM, Stefan Kost &lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt; wrote:<br>&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Jaap A. Haitsma schrieb:
<br>&gt;&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I guess some of you are familiar with the cheese webcam program [1]<br>&gt;&gt;&gt;&gt; Cheese used to have two pipelines (one for taking a picture and one<br>
&gt;&gt;&gt;&gt; for recording a video). We refactored that code and made one pipeline<br>&gt;&gt;&gt;&gt; to which we connect a photo_bin or video encoding bin to the pipeline<br>&gt;&gt;&gt;&gt; depending on if we are in video or photo mode.
<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; In order to do that we need to stop and start the pipeline. Therefore<br>&gt;&gt;&gt;&gt; the video is interupted<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; So what we would like is have 2 pipelines running.
<br>&gt;&gt;&gt; What about running one pipeline with a switch element. I haven&#39;t used it yet<br>&gt;&gt;&gt; myself. If that does not work using a tee and pad blocking could also work.<br>&gt;&gt;&gt;<br>&gt;&gt; Thanks, I was looking for such a switch element. Probably because the
<br>&gt;&gt; name is so logical I overlooked it :-(<br>&gt;&gt;<br>&gt;&gt; I&#39;ll give it a try<br>&gt;&gt;<br>&gt; I tried it. switch is unfortunately not the element I was looking for.<br>&gt; It switches inputs not outputs like I need. I tried the suggestion of
<br>&gt; blocking pads but if I block one element in one branch of the tee the<br>&gt; other one also stops. See attached example:<br>&gt;<br>&gt; The example use videotestsrc which is tee&#39;d to two imagesinks by<br>&gt; pressing the sink1 button you can block /unblock the first sink
<br>&gt;<br>&gt; However if the first sink gets blocked also the second one gets<br>&gt; blocked. So that doesn&#39;t really help me. Is there anything I do wrong?<br>&gt; Should I try something else?<br><br>Hmm, the queues should decouple it. Does it help if you make the queue leaky
<br>(check the property).<br><br>Stefan<br><br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Jaap<br>&gt;<br><br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft
<br>Defy all challenges. Microsoft(R) Visual Studio 2005.<br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</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">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
</a><br></blockquote></div><br>