Trying to reset the pipeline whithout closing it

Ashwini Sharma ak.ashwini at gmail.com
Wed Sep 14 23:10:23 PDT 2011


Hi,

You can put the pipeline to READY state and then set the location and put
the state back to PLAYING

-Ashwini

On Thu, Sep 15, 2011 at 10:34 AM, Sandeep Kumar <sandeep at vividlogic.com>wrote:

> Hi,
>
> I have a pipeline as below,
>
>  neonhttpsrc | flutsdemux | mpeg2decoder | xvimagesink
>
> 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.
>
> Steps  i am following are like this,
>
> gst_element_set_state(pipeline, GST_STATE_NULL);
> g_object_set(G_OBJECT (source), "location", new_url, NULL);
> gst_element_set_state(pipeline, GST_STATE_PLAYING);
>
> 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?
>
> Thanks & Regards,
> Sandeep.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110915/0abab840/attachment.htm>


More information about the gstreamer-devel mailing list