Branch data Line data Source code
1 : : /* GStreamer Editing Services
2 : : * Copyright (C) 2010 Brandon Lewis <brandon@collabora.co.uk>
3 : : * 2010 Nokia Corporation
4 : : *
5 : : * This library is free software; you can redistribute it and/or
6 : : * modify it under the terms of the GNU Library General Public
7 : : * License as published by the Free Software Foundation; either
8 : : * version 2 of the License, or (at your option) any later version.
9 : : *
10 : : * This library is distributed in the hope that it will be useful,
11 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 : : * Library General Public License for more details.
14 : : *
15 : : * You should have received a copy of the GNU Library General Public
16 : : * License along with this library; if not, write to the
17 : : * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 : : * Boston, MA 02111-1307, USA.
19 : : */
20 : :
21 : : /**
22 : : * SECTION:ges-track-transition
23 : : * @short_description: base class for audio and video transitions
24 : : *
25 : : */
26 : :
27 : : #include <ges/ges.h>
28 : : #include "ges-internal.h"
29 : :
30 [ + + ]: 27 : G_DEFINE_ABSTRACT_TYPE (GESTrackTransition, ges_track_transition,
31 : 27 : GES_TYPE_TRACK_OPERATION);
32 : :
33 : : struct _GESTrackTransitionPrivate
34 : : {
35 : : /* Dummy variable */
36 : : void *nothing;
37 : : };
38 : :
39 : :
40 : : static void
41 : 5 : ges_track_transition_class_init (GESTrackTransitionClass * klass)
42 : : {
43 : 5 : g_type_class_add_private (klass, sizeof (GESTrackTransitionPrivate));
44 : 5 : }
45 : :
46 : : static void
47 : 16 : ges_track_transition_init (GESTrackTransition * self)
48 : : {
49 : 16 : self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
50 : : GES_TYPE_TRACK_TRANSITION, GESTrackTransitionPrivate);
51 : 16 : }
|