summaryrefslogtreecommitdiffstats
path: root/gst/y4m
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-04-08 19:04:01 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-04-08 19:04:01 +0000
commitc745baedbba6fbf0c304ed83cc4ec5c4092aa84d (patch)
treeb2ba32d22d62eedc4ab6b518658cef7b62837d5a /gst/y4m
parentc93876f7994d721a1bd8e1eaae39a1cd64552fd8 (diff)
downloadgst-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/y4m')
-rw-r--r--gst/y4m/gsty4mencode.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/y4m/gsty4mencode.h b/gst/y4m/gsty4mencode.h
index 07d369cc..a0d3f9b9 100644
--- a/gst/y4m/gsty4mencode.h
+++ b/gst/y4m/gsty4mencode.h
@@ -36,10 +36,12 @@ extern "C" {
#define GST_Y4MENCODE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_Y4MENCODE,GstY4mEncode))
#define GST_Y4MENCODE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ULAW,GstY4mEncode))
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_Y4MENCODE,GstY4mEncodeClass))
+#define GST_Y4MENCODE_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_Y4MENCODE,GstY4mEncodeClass))
#define GST_IS_Y4MENCODE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_Y4MENCODE))
-#define GST_IS_Y4MENCODE_CLASS(obj) \
+#define GST_IS_Y4MENCODE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_Y4MENCODE))
typedef struct _GstY4mEncode GstY4mEncode;