GstPipeline

Name

GstPipeline -- Top-level bin with scheduling and pipeline management functionality.

Synopsis


#include <gst/gst.h>


struct      GstPipeline;
GstElement* gst_pipeline_new                (const gchar *name);
#define     gst_pipeline_destroy            (pipeline)

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBin
                     +----GstPipeline

Description

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.

Details

struct GstPipeline

struct GstPipeline;


gst_pipeline_new ()

GstElement* gst_pipeline_new                (const gchar *name);

Create a new pipeline with the given name.

name : name of new pipeline
Returns : newly created GstPipeline


gst_pipeline_destroy()

#define		gst_pipeline_destroy(pipeline)	gst_object_destroy(GST_OBJECT(pipeline))

Destroys the pipeline.

pipeline :GstPipeline to destroy

See Also

GstBin