GstPipeline

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

Synopsis


#include <gst/gst.h>


struct      GstPipeline;
GstElement* gst_pipeline_new                (const gchar *name);


Object Hierarchy


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

Properties


  "delay"                guint64              : Read / Write
  "play-timeout"         guint64              : Read / Write

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_object_unref() to free its resources.

Details

struct GstPipeline

struct GstPipeline {
  GstClock      *fixed_clock;	/* fixed clock if any */
  GstClockTime   stream_time;
  GstClockTime   delay;
  GstClockTime   play_timeout;

  GList		*eosed;		/* list of elements that posted EOS */

};


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 MT safe.

Properties

"delay" (guint64 : Read / Write)

Expected delay needed for elements to spin up to PLAYING in nanoseconds.

"play-timeout" (guint64 : Read / Write)

Max timeout for going to PLAYING in nanoseconds.

See Also

GstBin