<br><br><div class="gmail_quote">On Wed, Aug 4, 2010 at 3:57 AM, wl2776 <span dir="ltr">&lt;<a href="mailto:wl2776@gmail.com">wl2776@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
<br>
Andoni Morales wrote:<br>
&gt;<br>
&gt; The approach might vary depending on the pipeline you are using, but<br>
&gt; usually setting the element to the paused state, locking its state and<br>
&gt; unplugging it will do the job.<br>
&gt;<br>
<br>
</div>I&#39;m using playbin2.<br>
How can I lock the state? I see only gst_element_set_state().<br></blockquote><div><br>You are looking for this? :-)<br><br><a href="http://www.gstreamer.net/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-set-locked-state">http://www.gstreamer.net/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-set-locked-state</a><br>
<br>Best regards,<br>Katcipis<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888">--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-temporarily-disable-drawing-in-the-directdrawsink-tp2311736p2313009.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/How-to-temporarily-disable-drawing-in-the-directdrawsink-tp2311736p2313009.html</a><br>

</font><div><div></div><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
------------------------------------------------------------------------------<br>
The Palm PDK Hot Apps Program offers developers who use the<br>
Plug-In Development Kit to bring their C/C++ apps to Palm for a share<br>
of $1 Million in cash or HP Products. Visit us here for more details:<br>
<a href="http://p.sf.net/sfu/dev2dev-palm" target="_blank">http://p.sf.net/sfu/dev2dev-palm</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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.getgnulinux.org/windows">http://www.getgnulinux.org/windows</a><br>