gstreamer/ges/ges-timeline-effect.c
2011-05-06 14:55:31 -03:00

60 lines
1.8 KiB
C

/* GStreamer Editing Services
* Copyright (C) 2011 Thibault Saunier <thibault.saunier@collabora.co.uk>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/**
* SECTION: ges-timeline-effect
* @short_description: An effect in a #GESTimelineLayer
*
* The effect will be applied on the sources that have lower priorities
* (higher number) between the inpoint and the end of it.
*
* In a #GESSimpleTimelineLayer, the priorities will be set for you but if
* you use another type of #GESTimelineLayer, you will have to handle it
* yourself.
*
* Since: 0.10.2
*/
#include <ges/ges.h>
#include "ges-internal.h"
#include "ges-types.h"
G_DEFINE_ABSTRACT_TYPE (GESTimelineEffect, ges_timeline_effect,
GES_TYPE_TIMELINE_OPERATION);
struct _GESTimelineEffectPrivate
{
void *nothing;
};
static void
ges_timeline_effect_class_init (GESTimelineEffectClass * klass)
{
g_type_class_add_private (klass, sizeof (GESTimelineEffectPrivate));
}
static void
ges_timeline_effect_init (GESTimelineEffect * self)
{
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
GES_TYPE_TIMELINE_EFFECT, GESTimelineEffectPrivate);
}