![]() | ![]() | ![]() | GStreamer 0.9 Core Reference Manual | ![]() |
---|
GstPipeline — Top-level bin with scheduling and pipeline management functionality.
#include <gst/gst.h> struct GstPipeline; GstElement* gst_pipeline_new (const gchar *name);
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.
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 */ };
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. |
<< GstParse | GstPlugin >> |