Trying to reset the pipeline whithout closing it

Stefan Sauer ensonic at hora-obscura.de
Fri Sep 16 13:09:35 PDT 2011


On 09/15/11 07:04, Sandeep Kumar 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);
GST_STATE_PAUSED is sufficient.

> 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?
There will be some delay for buffering from the net.

Stefan

> Thanks & Regards,
> Sandeep.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list