<div dir="ltr"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Does it depend upon the order in which elements are added in pipeline?</span><br><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br>
</span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Thanks,</span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Yogesh</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 28, 2014 at 4:55 PM, Yogesh Tyagi <span dir="ltr"><<a href="mailto:yogesh.bit2006@gmail.com" target="_blank">yogesh.bit2006@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I went through this document and I understand that <span style="font-family:arial,sans-serif;font-size:13px">state changes happen topologically from sink to source. But if I have two sink elements in my pipeline, can I assume that these two elements will never change the state in parallel?</span><div>
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Thanks,</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Yogesh</span></div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 27, 2014 at 8:51 PM, Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2014-01-27 at 18:21 +0530, Yogesh Tyagi wrote:<br>
<br>
<br>
> And if Gstreamer changes element's state in a singlethread, is there<br>
<div>> any particular order in which state of the elements are changed?<br>
<br>
</div>Yes, state changes happen topologically from sink to source.<br>
<br>
You can't make any assumptions about any particular thread being used.<br>
<br>
<a href="http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-states.txt" target="_blank">http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-states.txt</a><br>
<br>
has some more details.<br>
<br>
Cheers<br>
-Tim<br>
<div><br>
><br>
><br>
> On Mon, Jan 27, 2014 at 6:04 PM, Yogesh Tyagi<br>
> <<a href="mailto:yogesh.bit2006@gmail.com" target="_blank">yogesh.bit2006@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
><br>
> Does gstreamer change state of individual elements in pipeline<br>
> in separate threads or in a single thread?<br>
><br>
><br>
> Thanks,<br>
> Yogesh<br>
><br>
><br>
</div>> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<span><font color="#888888"><br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>