GnlTimeline

GnlTimeline — Assembles GnlComposition to produce a multi-output GstElement.

Synopsis




            GnlTimeline;
            GnlTimelineClass;
GnlTimeline* gnl_timeline_new               (const gchar *name);
void        gnl_timeline_add_composition    (GnlTimeline *timeline,
                                             GnlComposition *comp);
GstPad*     gnl_timeline_get_pad_for_composition
                                            (GnlTimeline *timeline,
                                             GnlComposition *comp);


Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBin
                     +----GnlObject
                           +----GnlComposition
                                 +----GnlTimeline

Implemented Interfaces

GnlTimeline implements GstChildProxy.

Description

This class assembles GnlComposition to produce a GstElement that can be used in any GStreamer pipeline.

Details

GnlTimeline

typedef struct _GnlTimeline GnlTimeline;


GnlTimelineClass

typedef struct {
  GnlCompositionClass 	parent_class;
} GnlTimelineClass;


gnl_timeline_new ()

GnlTimeline* gnl_timeline_new               (const gchar *name);

name : The name of the instance
Returns : a newly allocated GnlTimeline, or NULL if the creation failed

gnl_timeline_add_composition ()

void        gnl_timeline_add_composition    (GnlTimeline *timeline,
                                             GnlComposition *comp);

timeline : The GnlTimeline to add a group to
comp : The GnlComposition to add to the timeline

gnl_timeline_get_pad_for_composition ()

GstPad*     gnl_timeline_get_pad_for_composition
                                            (GnlTimeline *timeline,
                                             GnlComposition *comp);

timeline : The GnlTimeline
comp : The GnlComposition we want a GstPad to
Returns : The corresponding GstPad, or NULL if the composition couldn't be found