summaryrefslogtreecommitdiff
path: root/gst/debugutils/efence.h
blob: c2c95a4ef2a049a2acb0526708297fdd5d79e707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * efence.h
 */

#ifndef __GST_EFENCE_H__
#define __GST_EFENCE_H__

#include <gst/gst.h>

G_BEGIN_DECLS
/* #define's don't like whitespacey bits */
#define GST_TYPE_EFENCE \
  (gst_gst_efence_get_type())
#define GST_EFENCE(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EFENCE,GstEFence))
#define GST_EFENCE_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EFENCE,GstEFenceClass))
#define GST_IS_EFENCE(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EFENCE))
#define GST_IS_EFENCE_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE))
typedef struct _GstEFence GstEFence;
typedef struct _GstEFenceClass GstEFenceClass;

struct _GstEFence
{
  GstElement element;

  GstPad *sinkpad, *srcpad;

  gboolean fence_top;
};

struct _GstEFenceClass
{
  GstElementClass parent_class;
};

GType gst_gst_efence_get_type (void);

G_END_DECLS
#endif /* __GST_EFENCE_H__ */