1 /* gst-freeze -- Source freezer
2 * Copyright (C) 2005 Gergely Nagy <gergely.nagy@neteyes.hu>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public License
6 * version 2.1, as published by the Free Software Foundation.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 #ifndef __GST_FREEZE_H__
19 #define __GST_FREEZE_H__ 1
24 #define GST_TYPE_FREEZE (gst_freeze_get_type ())
25 #define GST_FREEZE(obj) \
26 (G_TYPE_CHECK_INSTANCE_CAST (obj, GST_TYPE_FREEZE, GstFreeze))
27 #define GST_FREEZE_CLASS(klass) \
28 (G_TYPE_CHECK_CLASS_CAST (klass, GST_TYPE_FREEZE, GstFreezeClass))
29 #define GST_IS_FREEZE(obj) \
30 (G_TYPE_CHECK_INSTANCE_TYPE (obj, GST_TYPE_FREEZE))
31 #define GST_IS_FREEZE_CLASS(klass) \
32 (G_TYPE_CHECK_CLASS_TYPE (klass, GST_TYPE_FREEZE))
33 typedef struct _GstFreeze GstFreeze;
34 typedef struct _GstFreezeClass GstFreezeClass;
40 GstPad *sinkpad, *srcpad;
47 gint64 timestamp_offset;
49 GstClockTime running_time;
53 struct _GstFreezeClass
55 GstElementClass parent_class;
58 GType gst_freeze_get_type (void);
67 * arch-tag: 559a2214-86a1-4c2f-b497-bdcc5f82acf1