Hi,<div><br></div><div>You can put the pipeline to READY state and then set the location and put the state back to PLAYING</div><div><br></div><div>-Ashwini<br><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 10:34 AM, Sandeep Kumar <span dir="ltr"><<a href="mailto:sandeep@vividlogic.com">sandeep@vividlogic.com</a>></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 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), "location", 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 & 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>
</blockquote></div><br></div>