Trying to reset the pipeline whithout closing it
Sandeep Kumar
sandeep at vividlogic.com
Wed Sep 14 23:41:16 PDT 2011
Hi,
I tried it, but didnt work. Gave the "Error: Internal data flow error" 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?
Sandeep
----- Original Message -----
From: "Ashwini Sharma" <ak.ashwini at gmail.com>
To: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Sent: Thursday, September 15, 2011 11:40:23 AM
Subject: Re: Trying to reset the pipeline whithout closing it
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
_______________________________________________
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