diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-04-08 19:04:01 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-04-08 19:04:01 +0000 |
commit | c745baedbba6fbf0c304ed83cc4ec5c4092aa84d (patch) | |
tree | b2ba32d22d62eedc4ab6b518658cef7b62837d5a /gst/passthrough | |
parent | c93876f7994d721a1bd8e1eaae39a1cd64552fd8 (diff) | |
download | gst-plugins-bad-c745baedbba6fbf0c304ed83cc4ec5c4092aa84d.tar.gz gst-plugins-bad-c745baedbba6fbf0c304ed83cc4ec5c4092aa84d.tar.bz2 gst-plugins-bad-c745baedbba6fbf0c304ed83cc4ec5c4092aa84d.zip |
gst/: Fix more broken GObject macros
Original commit message from CVS:
* gst/colorspace/gstcolorspace.h:
* gst/deinterlace/gstdeinterlace.h:
* gst/passthrough/gstpassthrough.h:
* gst/y4m/gsty4mencode.h:
Fix more broken GObject macros
Diffstat (limited to 'gst/passthrough')
-rw-r--r-- | gst/passthrough/gstpassthrough.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/passthrough/gstpassthrough.h b/gst/passthrough/gstpassthrough.h index 0b6f9d58..722b08f5 100644 --- a/gst/passthrough/gstpassthrough.h +++ b/gst/passthrough/gstpassthrough.h @@ -31,10 +31,12 @@ G_BEGIN_DECLS #define GST_PASSTHROUGH(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PASSTHROUGH,GstPassthrough)) #define GST_PASSTHROUGH_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ULAW,GstPassthrough)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PASSTHROUGH,GstPassthroughClass)) +#define GST_PASSTHROUGH_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_PASSTHROUGH,GstPassthroughClass)) #define GST_IS_PASSTHROUGH(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PASSTHROUGH)) -#define GST_IS_PASSTHROUGH_CLASS(obj) \ +#define GST_IS_PASSTHROUGH_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PASSTHROUGH)) typedef struct _GstPassthrough GstPassthrough; |