[MOVED FROM BAD] gst/: Fix more broken GObject macros
authorStefan Kost <ensonic@users.sourceforge.net>
Sat, 8 Apr 2006 19:04:01 +0000 (19:04 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Fri, 15 May 2009 22:35:07 +0000 (23:35 +0100)
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

gst/y4m/gsty4mencode.h

index 07d369c..a0d3f9b 100644 (file)
@@ -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;