Trying to reset the pipeline whithout closing it

Sandeep Kumar sandeep at vividlogic.com
Wed Sep 14 22:04:09 PDT 2011


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.


More information about the gstreamer-devel mailing list