How to destruct a pipeline??
katcipis at inf.ufsc.br
Thu Oct 20 18:02:31 PDT 2011
On Thu, Oct 20, 2011 at 7:41 AM, akaChella <durgas1987 at gmail.com> wrote:
> Hi all,
> I have 2 pipelines. One is to play the video file locally and the other is
> to play the video and stream the audio.
> I am constructing one of the pipeline at a time and is working fine.
> Now i want to destroy the pipeline whatever has been constructed previously
> (say pipeline 1) and want to create the other pipeline (pipeline 2) during
> run time.
> I have used gst_deinit() to destroy the pipeline.
You should not call gst_deinit to destroy the pipeline, to destroy the
gst_element_set_state (pipeline, GST_STATE_NULL);
> and then initialised the gstreamer using gst_init() and later constructed
> the other pipeline.
No need to call gst_init more than once.
> But everytime it says, it is unable to construct the source element. i.e,
> gst_element_factory_make () returns -1.
> Any idea on this issue???
> View this message in context:
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel