2 * GStreamer Funnel element
4 * Copyright 2007 Collabora Ltd.
5 * @author: Olivier Crete <olivier.crete@collabora.co.uk>
6 * Copyright 2007 Nokia Corp.
8 * gstfunnel.h: Simple Funnel element
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 #ifndef __GST_FUNNEL_H__
27 #define __GST_FUNNEL_H__
33 #define GST_TYPE_FUNNEL \
34 (gst_funnel_get_type ())
35 #define GST_FUNNEL(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_FUNNEL,GstFunnel))
37 #define GST_FUNNEL_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_FUNNEL,GstFunnelClass))
39 #define GST_IS_FUNNEL(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_FUNNEL))
41 #define GST_IS_FUNNEL_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FUNNEL))
43 #define GST_FUNNEL_CAST(obj) ((GstFunnel *)(obj))
45 typedef struct _GstFunnel GstFunnel;
46 typedef struct _GstFunnelClass GstFunnelClass;
51 * Opaque #GstFunnel data structure.
60 gboolean forward_sticky_events;
63 struct _GstFunnelClass {
64 GstElementClass parent_class;
67 G_GNUC_INTERNAL GType gst_funnel_get_type (void);
71 #endif /* __GST_FUNNEL_H__ */