diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-04-08 18:41:07 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-04-08 18:41:07 +0000 |
commit | c93876f7994d721a1bd8e1eaae39a1cd64552fd8 (patch) | |
tree | c06f493b936dc01ff36bddb02001e1a42f028072 /sys | |
parent | c6ae02430d1bfce3c3eb0520f8f8d0eedb7bb420 (diff) | |
download | gst-plugins-bad-c93876f7994d721a1bd8e1eaae39a1cd64552fd8.tar.gz gst-plugins-bad-c93876f7994d721a1bd8e1eaae39a1cd64552fd8.tar.bz2 gst-plugins-bad-c93876f7994d721a1bd8e1eaae39a1cd64552fd8.zip |
Fix broken GObject macros
Original commit message from CVS:
* ext/xine/gstxine.h:
* gst-libs/gst/play/play.h:
* sys/v4l2/gstv4l2element.h:
* sys/ximagesrc/ximageutil.h:
Fix broken GObject macros
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l2/gstv4l2element.h | 2 | ||||
-rw-r--r-- | sys/ximagesrc/ximageutil.h | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/v4l2/gstv4l2element.h b/sys/v4l2/gstv4l2element.h index 23a6dd81..742950a7 100644 --- a/sys/v4l2/gstv4l2element.h +++ b/sys/v4l2/gstv4l2element.h @@ -55,7 +55,7 @@ G_BEGIN_DECLS (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_V4L2ELEMENT,GstV4l2ElementClass)) #define GST_IS_V4L2ELEMENT(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_V4L2ELEMENT)) -#define GST_IS_V4L2ELEMENT_CLASS(obj) \ +#define GST_IS_V4L2ELEMENT_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_V4L2ELEMENT)) #define GST_V4L2ELEMENT_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_V4L2ELEMENT, GstV4l2ElementClass)) diff --git a/sys/ximagesrc/ximageutil.h b/sys/ximagesrc/ximageutil.h index cc9d3dbf..517fc8e0 100644 --- a/sys/ximagesrc/ximageutil.h +++ b/sys/ximagesrc/ximageutil.h @@ -170,9 +170,11 @@ void gst_ximageutil_ximage_destroy (GstXContext *xcontext, /* Call to manually release a buffer */ void gst_ximage_buffer_free (GstXImageSrcBuffer *ximage); -#define GST_TYPE_XIMAGESRC_BUFFER (gst_ximagesrc_buffer_get_type()) -#define GST_IS_XIMAGESRC_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_XIMAGESRC_BUFFER)) -#define GST_XIMAGESRC_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_XIMAGESRC_BUFFER, GstXImageSrcBuffer)) +#define GST_TYPE_XIMAGESRC_BUFFER (gst_ximagesrc_buffer_get_type()) +#define GST_IS_XIMAGESRC_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_XIMAGESRC_BUFFER)) +#define GST_IS_XIMAGESRC_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_XIMAGESRC_BUFFER)) +#define GST_XIMAGESRC_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_XIMAGESRC_BUFFER, GstXImageSrcBuffer)) +#define GST_XIMAGESRC_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_XIMAGESRC_BUFFER, GstXImageSrcBufferClass)) #define GST_XIMAGESRC_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_XIMAGESRC_BUFFER, GstXImageSrcBufferClass)) G_END_DECLS |