2011-01-31 12:28:44 +00:00
|
|
|
/* 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
|
2012-11-04 00:25:20 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2011-01-31 12:28:44 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2013-01-25 18:45:07 +00:00
|
|
|
* SECTION: ges-base-effect-clip
|
2013-04-23 23:04:04 +00:00
|
|
|
* @short_description: An effect in a GESLayer
|
2011-01-31 12:28:44 +00:00
|
|
|
*
|
2011-02-01 20:22:04 +00:00
|
|
|
* The effect will be applied on the sources that have lower priorities
|
2011-01-31 12:28:44 +00:00
|
|
|
* (higher number) between the inpoint and the end of it.
|
|
|
|
*
|
2013-04-23 23:04:04 +00:00
|
|
|
* In a #GESSimpleLayer, the priorities will be set for you but if
|
|
|
|
* you use another type of #GESLayer, you will have to handle it
|
2011-01-31 12:28:44 +00:00
|
|
|
* yourself.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <ges/ges.h>
|
|
|
|
#include "ges-internal.h"
|
|
|
|
#include "ges-types.h"
|
|
|
|
|
2013-01-25 18:45:07 +00:00
|
|
|
G_DEFINE_ABSTRACT_TYPE (GESBaseEffectClip, ges_base_effect_clip,
|
2013-01-17 03:26:35 +00:00
|
|
|
GES_TYPE_OPERATION_CLIP);
|
2011-01-31 12:28:44 +00:00
|
|
|
|
2013-01-25 18:45:07 +00:00
|
|
|
struct _GESBaseEffectClipPrivate
|
2011-01-31 12:28:44 +00:00
|
|
|
{
|
2011-02-10 15:15:50 +00:00
|
|
|
void *nothing;
|
2011-01-31 12:28:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static void
|
2013-01-25 18:45:07 +00:00
|
|
|
ges_base_effect_clip_class_init (GESBaseEffectClipClass * klass)
|
2011-01-31 12:28:44 +00:00
|
|
|
{
|
2013-01-25 18:45:07 +00:00
|
|
|
g_type_class_add_private (klass, sizeof (GESBaseEffectClipPrivate));
|
2011-01-31 12:28:44 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
2013-01-25 18:45:07 +00:00
|
|
|
ges_base_effect_clip_init (GESBaseEffectClip * self)
|
2011-01-31 12:28:44 +00:00
|
|
|
{
|
|
|
|
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
2013-01-25 18:45:07 +00:00
|
|
|
GES_TYPE_BASE_EFFECT_CLIP, GESBaseEffectClipPrivate);
|
2011-01-31 12:28:44 +00:00
|
|
|
|
|
|
|
}
|