ges_track_remove_object
ges_track_set_caps
<SUBSECTION Standard>
+GESTrackPrivate
ges_track_set_timeline
ges_track_get_type
GES_IS_TRACK
GES_TRACK_OBJECT_START
ges_track_object_set_active
<SUBSECTION Standard>
+GESTrackObjectPrivate
ges_track_object_set_timeline_object
ges_track_object_set_track
ges_track_object_set_duration_internal
GESTrackSourceClass
ges_track_source_new
<SUBSECTION Standard>
+GESTrackSourcePrivate
GES_TRACK_SOURCE
GES_TRACK_SOURCE_CLASS
GES_TRACK_SOURCE_GET_CLASS
GESTrackOperationClass
ges_track_operation_new
<SUBSECTION Standard>
+GESTrackOperationPrivate
ges_track_operation_get_type
GES_IS_TRACK_OPERATION
GES_IS_TRACK_OPERATION_CLASS
GESTrackFileSourceClass
ges_track_filesource_new
<SUBSECTION Standard>
+GESTrackFileSourcePrivate
GES_TRACK_FILESOURCE
GES_TRACK_FILESOURCE_CLASS
GES_TRACK_FILESOURCE_GET_CLASS
GESTrackImageSource
GESTrackImageSourceClass
<SUBSECTION Standard>
+GESTrackImageSourcePrivate
GES_IS_TRACK_IMAGE_SOURCE
GES_IS_TRACK_IMAGE_SOURCE_CLASS
GES_TRACK_IMAGE_SOURCE
GESTrackTransition
GESTrackTransitionClass
<SUBSECTION Standard>
+GESTrackTransitionPrivate
GES_IS_TRACK_TRANSITION
GES_IS_TRACK_TRANSITION_CLASS
GES_TRACK_TRANSITION
GESTrackAudioTransitionClass
ges_track_audio_transition_new
<SUBSECTION Standard>
+GESTrackAudioTransitionPrivate
GES_IS_TRACK_AUDIO_TRANSITION
ges_track_audio_transition_get_type
GES_IS_TRACK_AUDIO_TRANSITION_CLASS
ges_track_video_transition_new
ges_track_video_transition_set_type
<SUBSECTION Standard>
+GESTrackVideoTransitionPrivate
ges_track_video_transition_get_type
GES_IS_TRACK_VIDEO_TRANSITION
GES_IS_TRACK_VIDEO_TRANSITION_CLASS
ges_timeline_layer_set_priority
ges_timeline_layer_get_objects
<SUBSECTION Standard>
+GESTimelineLayerPrivate
ges_timeline_layer_set_timeline
ges_timeline_layer_get_type
GES_IS_TIMELINE_LAYER
GESTimelineSourceClass
ges_timeline_source_new
<SUBSECTION Standard>
+GESTimelineSourcePrivate
ges_timeline_source_get_type
GES_IS_TIMELINE_SOURCE
GES_IS_TIMELINE_SOURCE_CLASS
GESTimelineOverlay
GESTimelineOverlayClass
<SUBSECTION Standard>
+GESTimelineOverlayPrivate
ges_timeline_overlay_get_type
GES_IS_TIMELINE_OVERLAY
GES_IS_TIMELINE_OVERLAY_CLASS
ges_timeline_transition_new
ges_timeline_transition_new_for_nick
<SUBSECTION Standard>
+GESTimelineTransitionPrivate
GES_IS_TIMELINE_TRANSITION
GES_IS_TIMELINE_TRANSITION_CLASS
GES_TIMELINE_TRANSITION
ges_timeline_test_source_new
ges_timeline_test_source_new_for_nick
<SUBSECTION Standard>
+GESTimelineTestSourcePrivate
ges_timeline_test_source_get_type
GES_TYPE_TIMELINE_TEST_SOURCE
GES_IS_TIMELINE_TEST_SOURCE
GESTimelineTitleSourceClass
ges_timeline_title_source_new
<SUBSECTION Standard>
+GESTimelineTitleSourcePrivate
ges_tl_title_src_get_type
GES_IS_TIMELINE_TITLE_SOURCE
GES_IS_TIMELINE_TITLE_SOURCE_CLASS
GESTimelineTextOverlayClass
ges_timeline_text_overlay_new
<SUBSECTION Standard>
+GESTimelineTextOverlayPrivate
ges_tl_text_overlay_get_type
GES_IS_TIMELINE_TEXT_OVERLAY
GES_IS_TIMELINE_TEXT_OVERLAY_CLASS
ges_track_video_test_source_new
ges_track_video_test_source_set_pattern
<SUBSECTION Standard>
+GESTrackVideoTestSourcePrivate
ges_track_video_test_source_get_type
GES_IS_TRACK_VIDEO_TEST_SOURCE
GES_IS_TRACK_VIDEO_TEST_SOURCE_CLASS
ges_track_audio_test_source_set_freq
ges_track_audio_test_source_set_volume
<SUBSECTION Standard>
+GESTrackAudioTestSourcePrivate
ges_track_audio_test_source_get_type
GES_TRACK_AUDIO_TEST_SOURCE
GES_TRACK_AUDIO_TEST_SOURCE_CLASS
ges_track_title_source_set_valignment
ges_track_title_source_new
<SUBSECTION Standard>
+GESTrackTitleSourcePrivate
ges_track_title_src_get_type
GES_TRACK_TITLE_SOURCE
GES_TRACK_TITLE_SOURCE_CLASS
ges_track_text_overlay_set_text
ges_track_text_overlay_set_valignment
<SUBSECTION Standard>
+GESTrackTextOverlayPrivate
ges_track_text_overlay_get_type
GES_IS_TRACK_TEXT_OVERLAY
GES_IS_TRACK_TEXT_OVERLAY_CLASS
G_DEFINE_TYPE (GESTimelineLayer, ges_timeline_layer, G_TYPE_OBJECT);
+struct _GESTimelineLayerPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTimelineLayerPrivate));
+
object_class->get_property = ges_timeline_layer_get_property;
object_class->set_property = ges_timeline_layer_set_property;
object_class->dispose = ges_timeline_layer_dispose;
static void
ges_timeline_layer_init (GESTimelineLayer * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TIMELINE_LAYER, GESTimelineLayerPrivate);
+
/* TODO : Keep those 3 values in sync */
self->priority = 0;
self->min_gnl_priority = 0;
#define GES_TIMELINE_LAYER_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_LAYER, GESTimelineLayerClass))
+typedef struct _GESTimelineLayerPrivate GESTimelineLayerPrivate;
+
/**
* GESTimelineLayer:
* @timeline: the #GESTimeline where this layer is being used.
guint32 min_gnl_priority, max_gnl_priority;
+ GESTimelineLayerPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTimelineOverlay, ges_timeline_overlay,
GES_TYPE_TIMELINE_OBJECT);
+struct _GESTimelineOverlayPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
static void
ges_timeline_overlay_get_property (GObject * object, guint property_id,
GValue * value, GParamSpec * pspec)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTimelineOverlayPrivate));
+
object_class->get_property = ges_timeline_overlay_get_property;
object_class->set_property = ges_timeline_overlay_set_property;
object_class->dispose = ges_timeline_overlay_dispose;
static void
ges_timeline_overlay_init (GESTimelineOverlay * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TIMELINE_OVERLAY, GESTimelineOverlayPrivate);
}
#define GES_TIMELINE_OVERLAY_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_OVERLAY, GESTimelineOverlayClass))
+typedef struct _GESTimelineOverlayPrivate GESTimelineOverlayPrivate;
+
/**
* GESTimelineOverlay:
*/
GESTimelineObject parent;
/*< private >*/
+
+ GESTimelineOverlayPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
#define DEFAULT_PROP_FONT_DESC "Serif 36"
#define DEFAULT_PROP_VALIGNMENT GES_TEXT_VALIGN_BASELINE
#define DEFAULT_PROP_HALIGNMENT GES_TEXT_HALIGN_CENTER
-#
+
+struct _GESTimelineSourcePrivate
+{
+ /* dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTimelineSourcePrivate));
+
object_class->get_property = ges_timeline_source_get_property;
object_class->set_property = ges_timeline_source_set_property;
object_class->dispose = ges_timeline_source_dispose;
static void
ges_timeline_source_init (GESTimelineSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TIMELINE_SOURCE, GESTimelineSourcePrivate);
+
self->halign = DEFAULT_PROP_HALIGNMENT;
self->valign = DEFAULT_PROP_VALIGNMENT;
}
#define GES_TIMELINE_SOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_SOURCE, GESTimelineSourceClass))
+typedef struct _GESTimelineSourcePrivate GESTimelineSourcePrivate;
+
/**
* GESTimelineSource:
*
GESTextHAlign halign;
GESTextVAlign valign;
+ GESTimelineSourcePrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTimelineTestSource, ges_timeline_test_source,
GES_TYPE_TIMELINE_SOURCE);
+struct _GESTimelineTestSourcePrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTimelineTestSourcePrivate));
+
object_class->get_property = ges_timeline_test_source_get_property;
object_class->set_property = ges_timeline_test_source_set_property;
object_class->dispose = ges_timeline_test_source_dispose;
static void
ges_timeline_test_source_init (GESTimelineTestSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TIMELINE_TEST_SOURCE, GESTimelineTestSourcePrivate);
+
self->freq = 0;
self->volume = 0;
GES_TIMELINE_OBJECT (self)->duration = 0;
#define GES_TIMELINE_TEST_SOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TEST_SOURCE, GESTimelineTestSourceClass))
+typedef struct _GESTimelineTestSourcePrivate GESTimelineTestSourcePrivate;
+
/**
* GESTimelineTestSource:
*
GESVideoTestPattern vpattern;
gdouble freq;
gdouble volume;
+
+ GESTimelineTestSourcePrivate *priv;
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
#define DEFAULT_PROP_VALIGNMENT GES_TEXT_VALIGN_BASELINE
#define DEFAULT_PROP_HALIGNMENT GES_TEXT_HALIGN_CENTER
#
+
+struct _GESTimelineTextOverlayPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTimelineTextOverlayPrivate));
+
object_class->get_property = ges_tl_text_overlay_get_property;
object_class->set_property = ges_tl_text_overlay_set_property;
object_class->dispose = ges_tl_text_overlay_dispose;
static void
ges_tl_text_overlay_init (GESTimelineTextOverlay * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlayPrivate);
+
GES_TIMELINE_OBJECT (self)->duration = 0;
/* Not 100% needed since gobject contents are memzero'd when created */
self->text = NULL;
#define GES_TIMELINE_TEXT_OVERLAY_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlayClass))
+typedef struct _GESTimelineTextOverlayPrivate GESTimelineTextOverlayPrivate;
+
/**
* GESTimelineTextOverlay:
*
GESTextHAlign halign;
GESTextVAlign valign;
+ GESTimelineTextOverlayPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
#define GES_TIMELINE_TITLE_SRC_VALIGN_TYPE (ges_timeline_title_source_valign_get_type())
#define GES_TIMELINE_TITLE_SRC_HALIGN_TYPE (ges_timeline_title_source_halign_get_type())
+struct _GESTimelineTitleSourcePrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTimelineTitleSourcePrivate));
+
object_class->get_property = ges_tl_title_src_get_property;
object_class->set_property = ges_tl_title_src_set_property;
object_class->dispose = ges_tl_title_src_dispose;
static void
ges_tl_title_src_init (GESTimelineTitleSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TIMELINE_TITLE_SOURCE, GESTimelineTitleSourcePrivate);
+
GES_TIMELINE_OBJECT (self)->duration = 0;
/* Not 100% required since a new gobject's content will always be memzero'd */
self->mute = FALSE;
#define GES_TIMELINE_TITLE_SOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TITLE_SOURCE, GESTimelineTitleSourceClass))
+typedef struct _GESTimelineTitleSourcePrivate GESTimelineTitleSourcePrivate;
+
/**
* GESTimelineTitleSource:
*
GESTextVAlign halign;
GESTextHAlign valign;
+ GESTimelineTitleSourcePrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
#include "ges-track-video-transition.h"
#include "ges-track-audio-transition.h"
+struct _GESTimelineTransitionPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
enum
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTimelineObjectClass *timobj_class = GES_TIMELINE_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTimelineTransitionPrivate));
+
object_class->get_property = ges_timeline_transition_get_property;
object_class->set_property = ges_timeline_transition_set_property;
object_class->dispose = ges_timeline_transition_dispose;
static void
ges_timeline_transition_init (GESTimelineTransition * self)
{
+
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TIMELINE_TRANSITION, GESTimelineTransitionPrivate);
+
self->vtype = GES_VIDEO_TRANSITION_TYPE_NONE;
}
#define GES_TIMELINE_TRANSITION_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TRANSITION, GESTimelineTransitionClass))
+typedef struct _GESTimelineTransitionPrivate GESTimelineTransitionPrivate;
+
/**
* GESTimelineTransition:
* @vtype: a #GESVideoTransitionType indicating the type of video transition
GESVideoTransitionType vtype;
/*< private >*/
+ GESTimelineTransitionPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackAudioTestSource, ges_track_audio_test_source,
GES_TYPE_TRACK_SOURCE);
+struct _GESTrackAudioTestSourcePrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class;
GESTrackSourceClass *bg_class;
+ g_type_class_add_private (klass, sizeof (GESTrackAudioTestSourcePrivate));
+
object_class = G_OBJECT_CLASS (klass);
bg_class = GES_TRACK_SOURCE_CLASS (klass);
static void
ges_track_audio_test_source_init (GESTrackAudioTestSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_AUDIO_TEST_SOURCE, GESTrackAudioTestSourcePrivate);
+
self->freq = 440;
self->volume = 0;
}
#define GES_TRACK_AUDIO_TEST_SOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_AUDIO_TEST_SOURCE, GESTrackAudioTestSourceClass))
+typedef struct _GESTrackAudioTestSourcePrivate GESTrackAudioTestSourcePrivate;
+
/**
* GESTrackAudioTestSource:
*
gdouble freq;
gdouble volume;
+ GESTrackAudioTestSourcePrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackAudioTransition, ges_track_audio_transition,
GES_TYPE_TRACK_TRANSITION);
+struct _GESTrackAudioTransitionPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GESTrackObjectClass *toclass;
GESTrackTransitionClass *pclass;
+ g_type_class_add_private (klass, sizeof (GESTrackAudioTransitionPrivate));
+
object_class = G_OBJECT_CLASS (klass);
toclass = GES_TRACK_OBJECT_CLASS (klass);
pclass = GES_TRACK_TRANSITION_CLASS (klass);
static void
ges_track_audio_transition_init (GESTrackAudioTransition * self)
{
+
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_AUDIO_TRANSITION, GESTrackAudioTransitionPrivate);
+
self->a_controller = NULL;
self->a_control_source = NULL;
#define GES_TRACK_AUDIO_TRANSITION_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_AUDIO_TRANSITION, GESTrackAudioTransitionClass))
+typedef struct _GESTrackAudioTransitionPrivate GESTrackAudioTransitionPrivate;
+
/**
* GESTrackAudioTransition:
*
GstController *b_controller;
GstInterpolationControlSource *b_control_source;
+ GESTrackAudioTransitionPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackFileSource, ges_track_filesource, GES_TYPE_TRACK_SOURCE);
+struct _GESTrackFileSourcePrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTrackFileSourcePrivate));
+
object_class->get_property = ges_track_filesource_get_property;
object_class->set_property = ges_track_filesource_set_property;
object_class->dispose = ges_track_filesource_dispose;
static void
ges_track_filesource_init (GESTrackFileSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_FILESOURCE, GESTrackFileSourcePrivate);
}
GESTrackFileSource *
#define GES_TRACK_FILESOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_FILESOURCE, GESTrackFileSourceClass))
+
+typedef struct _GESTrackFileSourcePrivate GESTrackFileSourcePrivate;
+
/**
* GESTrackFileSource:
* @uri: #gchar *, the URI of the media file to play
gchar *uri;
/*< private >*/
+ GESTrackFileSourcePrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackImageSource, ges_track_image_source,
GES_TYPE_TRACK_SOURCE);
+struct _GESTrackImageSourcePrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTrackSourceClass *source_class = GES_TRACK_SOURCE_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTrackImageSourcePrivate));
+
object_class->get_property = ges_track_image_source_get_property;
object_class->set_property = ges_track_image_source_set_property;
object_class->dispose = ges_track_image_source_dispose;
static void
ges_track_image_source_init (GESTrackImageSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_IMAGE_SOURCE, GESTrackImageSourcePrivate);
}
GESTrackImageSource *
#define GES_TRACK_IMAGE_SOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_IMAGE_SOURCE, GESTrackImageSourceClass))
+
+typedef struct _GESTrackImageSourcePrivate GESTrackImageSourcePrivate;
+
/**
* GESTrackImageSource:
* @uri: #gchar *, the URI of the media file to play
/*< public >*/
gchar *uri;
+ GESTrackImageSourcePrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE_WITH_CODE (GESTrackObject, ges_track_object, G_TYPE_OBJECT,
_do_init);
+struct _GESTrackObjectPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTrackObjectPrivate));
+
object_class->get_property = ges_track_object_get_property;
object_class->set_property = ges_track_object_set_property;
object_class->dispose = ges_track_object_dispose;
static void
ges_track_object_init (GESTrackObject * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_OBJECT, GESTrackObjectPrivate);
+
/* Sane default values */
self->pending_start = 0;
self->pending_inpoint = 0;
/* NOTE: we handle priority differently than other properties! the gnlpriority
* is object->base_priority + object->priority_offset! A change to either one
* will trigger an update to the gnonlin priority and a subsequent property
- * notification.
+ * notification.
*/
gboolean
#define GES_TRACK_OBJECT_PRIORITY_OFFSET(obj)\
(((GESTrackObject*)obj)->priority_offset)
+typedef struct _GESTrackObjectPrivate GESTrackObjectPrivate;
+
/**
* GESTrackObject:
* @timelineobj: The #GESTimelineObject to which this object belongs.
GstElement *gnlobject;
+ GESTrackObjectPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackOperation, ges_track_operation, GES_TYPE_TRACK_OBJECT);
+struct _GESTrackOperationPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
static void
ges_track_operation_get_property (GObject * object, guint property_id,
GValue * value, GParamSpec * pspec)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTrackOperationPrivate));
+
object_class->get_property = ges_track_operation_get_property;
object_class->set_property = ges_track_operation_set_property;
object_class->dispose = ges_track_operation_dispose;
static void
ges_track_operation_init (GESTrackOperation * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_OPERATION, GESTrackOperationPrivate);
}
#define GES_TRACK_OPERATION_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_OPERATION, GESTrackOperationClass))
+typedef struct _GESTrackOperationPrivate GESTrackOperationPrivate;
+
/**
* GESTrackOperation:
* @parent: parent
/*< private >*/
GstElement *element;
+ GESTrackOperationPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackSource, ges_track_source, GES_TYPE_TRACK_OBJECT);
+struct _GESTrackSourcePrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
static void
ges_track_source_get_property (GObject * object, guint property_id,
GValue * value, GParamSpec * pspec)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTrackSourcePrivate));
+
object_class->get_property = ges_track_source_get_property;
object_class->set_property = ges_track_source_set_property;
object_class->dispose = ges_track_source_dispose;
static void
ges_track_source_init (GESTrackSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_SOURCE, GESTrackSourcePrivate);
}
GESTrackSource *
#define GES_TRACK_SOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_SOURCE, GESTrackSourceClass))
+typedef struct _GESTrackSourcePrivate GESTrackSourcePrivate;
+
/**
* GESTrackSource:
* @parent: parent
/*< private >*/
GstElement *element;
+ GESTrackSourcePrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackTextOverlay, ges_track_text_overlay,
GES_TYPE_TRACK_OPERATION);
+struct _GESTrackTextOverlayPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class;
GESTrackOperationClass *bg_class;
+ g_type_class_add_private (klass, sizeof (GESTrackTextOverlayPrivate));
+
object_class = G_OBJECT_CLASS (klass);
bg_class = GES_TRACK_OPERATION_CLASS (klass);
static void
ges_track_text_overlay_init (GESTrackTextOverlay * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_TEXT_OVERLAY, GESTrackTextOverlayPrivate);
+
self->text = NULL;
self->font_desc = NULL;
self->text_el = NULL;
#define GES_TRACK_TEXT_OVERLAY_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_TEXT_OVERLAY, GESTrackTextOverlayClass))
+typedef struct _GESTrackTextOverlayPrivate GESTrackTextOverlayPrivate;
+
/**
* GESTrackTextOverlay:
*
GESTextVAlign valign;
GstElement *text_el;
+ GESTrackTextOverlayPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackTitleSource, ges_track_title_src, GES_TYPE_TRACK_SOURCE);
+struct _GESTrackTitleSourcePrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class;
GESTrackSourceClass *bg_class;
+ g_type_class_add_private (klass, sizeof (GESTrackTitleSourcePrivate));
+
object_class = G_OBJECT_CLASS (klass);
bg_class = GES_TRACK_SOURCE_CLASS (klass);
static void
ges_track_title_src_init (GESTrackTitleSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_TITLE_SOURCE, GESTrackTitleSourcePrivate);
+
self->text = NULL;
self->font_desc = NULL;
self->text_el = NULL;
#define GES_TRACK_TITLE_SOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_TITLE_SOURCE, GESTrackTitleSourceClass))
+typedef struct _GESTrackTitleSourcePrivate GESTrackTitleSourcePrivate;
+
/**
* GESTrackTitleSource:
*
GstElement *text_el;
GstElement *background_el;
+ GESTrackTitleSourcePrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackTransition, ges_track_transition, GES_TYPE_TRACK_OBJECT);
+struct _GESTrackTransitionPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
GstElement *ges_track_transition_create_element (GESTrackTransition * self);
static void
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GESTrackObjectClass *track_class = GES_TRACK_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTrackTransitionPrivate));
+
object_class->get_property = ges_track_transition_get_property;
object_class->set_property = ges_track_transition_set_property;
object_class->dispose = ges_track_transition_dispose;
static void
ges_track_transition_init (GESTrackTransition * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_TRANSITION, GESTrackTransitionPrivate);
+
}
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_TRANSITION,\
GESTrackTransitionClass))
+typedef struct _GESTrackTransitionPrivate GESTrackTransitionPrivate;
+
/**
* GESTrackTransition:
*
GESTrackObject parent;
/*< private >*/
+ GESTrackTransitionPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackVideoTestSource, ges_track_video_test_source,
GES_TYPE_TRACK_SOURCE);
+struct _GESTrackVideoTestSourcePrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GObjectClass *object_class;
GESTrackSourceClass *track_source_class;
+ g_type_class_add_private (klass, sizeof (GESTrackVideoTestSourcePrivate));
+
object_class = G_OBJECT_CLASS (klass);
track_source_class = GES_TRACK_SOURCE_CLASS (klass);
static void
ges_track_video_test_source_init (GESTrackVideoTestSource * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_VIDEO_TEST_SOURCE, GESTrackVideoTestSourcePrivate);
+
self->pattern = GES_VIDEO_TEST_PATTERN_BLACK;
}
#define GES_TRACK_VIDEO_TEST_SOURCE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_VIDEO_TEST_SOURCE, GESTrackVideoTestSourceClass))
+typedef struct _GESTrackVideoTestSourcePrivate GESTrackVideoTestSourcePrivate;
+
/**
* GESTrackVideoTestSource:
*/
/*< private >*/
GESVideoTestPattern pattern;
+ GESTrackVideoTestSourcePrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrackVideoTransition, ges_track_video_transition,
GES_TYPE_TRACK_TRANSITION);
+struct _GESTrackVideoTransitionPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
PROP_0,
GESTrackObjectClass *toclass;
GESTrackTransitionClass *pclass;
+ g_type_class_add_private (klass, sizeof (GESTrackVideoTransitionPrivate));
+
object_class = G_OBJECT_CLASS (klass);
toclass = GES_TRACK_OBJECT_CLASS (klass);
pclass = GES_TRACK_TRANSITION_CLASS (klass);
static void
ges_track_video_transition_init (GESTrackVideoTransition * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK_VIDEO_TRANSITION, GESTrackVideoTransitionPrivate);
+
self->controller = NULL;
self->control_source = NULL;
self->smpte = NULL;
#define GES_TRACK_VIDEO_TRANSITION_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_VIDEO_TRANSITION, GESTrackVideoTransitionClass))
+typedef struct _GESTrackVideoTransitionPrivate GESTrackVideoTransitionPrivate;
+
/**
* GESTrackVideoTransition:
*/
gdouble start_value;
gdouble end_value;
+ GESTrackVideoTransitionPrivate *priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
G_DEFINE_TYPE (GESTrack, ges_track, GST_TYPE_BIN);
+struct _GESTrackPrivate
+{
+ /* Dummy variable */
+ void *nothing;
+};
+
enum
{
ARG_0,
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ g_type_class_add_private (klass, sizeof (GESTrackPrivate));
+
object_class->get_property = ges_track_get_property;
object_class->set_property = ges_track_set_property;
object_class->dispose = ges_track_dispose;
static void
ges_track_init (GESTrack * self)
{
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GES_TYPE_TRACK, GESTrackPrivate);
+
self->composition = gst_element_factory_make ("gnlcomposition", NULL);
g_signal_connect (self->composition, "pad-added", (GCallback) pad_added_cb,
#define GES_TRACK_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK, GESTrackClass))
+typedef struct _GESTrackPrivate GESTrackPrivate;
+
/**
* GESTrack:
* @type: a #GESTrackType indicting the basic type of the track.
GstElement * composition; /* The composition associated with this track */
GstPad * srcpad; /* The source GhostPad */
+ GESTrackPrivate * priv;
+
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};