diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-04-15 16:03:27 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-04-15 16:13:34 +0300 |
commit | 7be792fa138dcb4634eb893074042b7440e56594 (patch) | |
tree | 4596cdc55fb0deae89c906515bcb72c3af662a74 /gst/debugutils/efence.h | |
parent | 99fcc86ee441d34752b39e382014d5a8a5cb04b0 (diff) |
debug: rename debug to debugutils to avoid clash with --disable-debug. Fixes #562168
Diffstat (limited to 'gst/debugutils/efence.h')
-rw-r--r-- | gst/debugutils/efence.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/gst/debugutils/efence.h b/gst/debugutils/efence.h new file mode 100644 index 00000000..7c4acb5d --- /dev/null +++ b/gst/debugutils/efence.h @@ -0,0 +1,50 @@ +/* + * efence.h + */ + +#ifndef __GST_EFENCE_H__ +#define __GST_EFENCE_H__ + +#include <gst/gst.h> + +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + +/* #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); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __GST_EFENCE_H__ */ |