summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/gstv4l2xoverlay.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2006-10-09 07:01:19 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2006-10-09 07:01:19 +0000
commitb26667c5b277141fa3a87d3ebca007b3e4d0ff7e (patch)
treea5d572978035ed62605c1d7cf6ab7f81de23ed06 /sys/v4l2/gstv4l2xoverlay.h
parent2e181110000ffc4c076b8b904c45b104dfafdd89 (diff)
sys/v4l2/gstv4l2xoverlay.*: Fix build as per the patch in #338818 comment 36.
Original commit message from CVS: * sys/v4l2/gstv4l2xoverlay.c: * sys/v4l2/gstv4l2xoverlay.h: Fix build as per the patch in #338818 comment 36.
Diffstat (limited to 'sys/v4l2/gstv4l2xoverlay.h')
-rw-r--r--sys/v4l2/gstv4l2xoverlay.h40
1 files changed, 21 insertions, 19 deletions
diff --git a/sys/v4l2/gstv4l2xoverlay.h b/sys/v4l2/gstv4l2xoverlay.h
index 8eac0e2c..3d15ce90 100644
--- a/sys/v4l2/gstv4l2xoverlay.h
+++ b/sys/v4l2/gstv4l2xoverlay.h
@@ -37,26 +37,28 @@ void gst_v4l2_xoverlay_start (GstV4l2Object *v4l2object);
void gst_v4l2_xoverlay_stop (GstV4l2Object *v4l2object);
void gst_v4l2_xoverlay_interface_init (GstXOverlayClass * klass);
+void gst_v4l2_xoverlay_set_xwindow_id (GstV4l2Object * v4l2object,
+ XID xwindow_id);
-#define GST_IMPLEMENT_V4L2_XOVERLAY_METHODS(Type, interface_as_function) \
- \
-static void \
-interface_as_function ## _xoverlay_set_xwindow_id (GstXOverlay * xoverlay, \
- XID xwindow_id) \
-{ \
- Type *this = (Type*) xoverlay; \
- gst_v4l2_xoverlay_set_xwindow_id (this->v4l2object, xwindow_id); \
-} \
- \
-static void \
-interface_as_function ## _xoverlay_interface_init (GstXOverlayClass * klass) \
-{ \
- /* default virtual functions */ \
- klass->set_xwindow_id = interface_as_function ## _xoverlay_set_xwindow_id; \
- \
- gst_v4l2_xoverlay_interface_init(GstXOverlayClass * klass); \
-} \
- \
+
+#define GST_IMPLEMENT_V4L2_XOVERLAY_METHODS(Type, interface_as_function) \
+ \
+static void \
+interface_as_function ## _xoverlay_set_xwindow_id (GstXOverlay * xoverlay, \
+ XID xwindow_id) \
+{ \
+ Type *this = (Type*) xoverlay; \
+ gst_v4l2_xoverlay_set_xwindow_id (this->v4l2object, xwindow_id); \
+} \
+ \
+static void \
+interface_as_function ## _xoverlay_interface_init (GstXOverlayClass * klass) \
+{ \
+ /* default virtual functions */ \
+ klass->set_xwindow_id = interface_as_function ## _xoverlay_set_xwindow_id; \
+ \
+ gst_v4l2_xoverlay_interface_init(klass); \
+} \
#endif /* __GST_V4L2_X_OVERLAY_H__ */