![]() | ![]() | ![]() | GStreamer Core Reference Manual | ![]() |
---|
#include <gst/gst.h> struct GstPipeline; GstElement* gst_pipeline_new (const gchar *name); #define gst_pipeline_destroy (pipeline)
In almost all cases, you'll want to use a GstPipeline when creating a filter graph. The GstPipeline will manage all the scheduling issues, including threading, as well as provide simple interfaces to common functions, like 'Play'.
gst_pipeline_new() is used to create a pipeline. when you are done with the pipeline, use gst_element_unref() to free its resources.
GstElement* gst_pipeline_new (const gchar *name);
Create a new pipeline with the given name.
name : | name of new pipeline |
Returns : | newly created GstPipeline |
#define gst_pipeline_destroy(pipeline) gst_object_destroy(GST_OBJECT(pipeline))
Destroys the pipeline.
pipeline : | GstPipeline to destroy |
<<< GstParse | GstPlugin >>> |