When u set to READY, it goes thru the full cycle of PLAY-&gt; PAUSED-&gt;READY.<div><br></div><div>It should work, as i have tested it on my own<br><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 12:11 PM, Sandeep Kumar <span dir="ltr">&lt;<a href="mailto:sandeep@vividlogic.com">sandeep@vividlogic.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I tried it, but didnt work. Gave the &quot;Error: Internal data flow error&quot; error and pipeline is closed after that. I think, we have to follow the complete cycle of PAUSED to READY to NULL before playing it. I tried few other combinations as well, without much luck. Is there a standard procedure to do this task?<br>

<br>
Sandeep<br>
<br>
----- Original Message -----<br>
From: &quot;Ashwini Sharma&quot; &lt;<a href="mailto:ak.ashwini@gmail.com">ak.ashwini@gmail.com</a>&gt;<br>
To: &quot;Discussion of the development of and with GStreamer&quot; &lt;<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>&gt;<br>
Sent: Thursday, September 15, 2011 11:40:23 AM<br>
Subject: Re: Trying to reset the pipeline whithout closing it<br>
<br>
<br>
Hi,<br>
<br>
<br>
You can put the pipeline to READY state and then set the location and put the state back to PLAYING<br>
<br>
<br>
-Ashwini<br>
<br>
<br>
On Thu, Sep 15, 2011 at 10:34 AM, Sandeep Kumar &lt; <a href="mailto:sandeep@vividlogic.com">sandeep@vividlogic.com</a> &gt; wrote:<br>
<br>
<br>
Hi,<br>
<br>
I have a pipeline as below,<br>
<br>
neonhttpsrc | flutsdemux | mpeg2decoder | xvimagesink<br>
<br>
Here, i am trying to reset the location property of neonhttpsrc at run time , without closing the pipeline. Can anyone send the steps for doing it.<br>
<br>
Steps i am following are like this,<br>
<br>
gst_element_set_state(pipeline, GST_STATE_NULL);<br>
g_object_set(G_OBJECT (source), &quot;location&quot;, new_url, NULL);<br>
gst_element_set_state(pipeline, GST_STATE_PLAYING);<br>
<br>
The stream plays on the screen but after a delay(4 seconds first time). And the delay seems to keep increasing 2 folds (doubles after each new request). I dont want to delete the entire pipeline here. Anyone know how to resolve this issue?<br>

<br>
Thanks &amp; Regards,<br>
Sandeep.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">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>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">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>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">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>
</blockquote></div><br></div>