1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) 2013 Thibault Saunier <tsaunier@gnome.org>
6 * gst-editing-services is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published
8 * by the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * gst-editing-services is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.";
22 #include <glib-object.h>
25 #include "ges-track.h"
29 #define GES_TYPE_SMART_ADDER (ges_smart_adder_get_type ())
30 #define GES_SMART_ADDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_SMART_ADDER, GESSmartAdder))
31 #define GES_SMART_ADDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_SMART_ADDER, GESSmartAdderClass))
32 #define GES_IS_SMART_ADDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_SMART_ADDER))
33 #define GES_IS_SMART_ADDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_SMART_ADDER))
34 #define GES_SMART_ADDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_SMART_ADDER, GESSmartAdderClass))
36 typedef struct _GESSmartAdderClass GESSmartAdderClass;
37 typedef struct _GESSmartAdder GESSmartAdder;
39 struct _GESSmartAdderClass
41 GstBinClass parent_class;
43 gpointer _ges_reserved[GES_PADDING];
48 GstBin parent_instance;
50 GHashTable *pads_infos;
53 GstElement *capsfilter;
60 gpointer _ges_reserved[GES_PADDING];
64 GType ges_smart_adder_get_type (void) G_GNUC_CONST;
67 GstElement* ges_smart_adder_new (GESTrack *track);