summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/video
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/video')
-rw-r--r--gst-libs/gst/video/video.h4
-rw-r--r--gst-libs/gst/video/videosink.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h
index 6875f636..97a2aacd 100644
--- a/gst-libs/gst/video/video.h
+++ b/gst-libs/gst/video/video.h
@@ -23,6 +23,8 @@
#include <gst/gst.h>
+G_BEGIN_DECLS
+
#define GST_VIDEO_BYTE1_MASK_32 "0xFF000000"
#define GST_VIDEO_BYTE2_MASK_32 "0x00FF0000"
#define GST_VIDEO_BYTE3_MASK_32 "0x0000FF00"
@@ -187,4 +189,6 @@ gboolean gst_video_get_size (GstPad *pad,
gint *width,
gint *height);
+G_END_DECLS
+
#endif /* __GST_VIDEO_H__ */
diff --git a/gst-libs/gst/video/videosink.h b/gst-libs/gst/video/videosink.h
index d1e3aa97..bdf52e15 100644
--- a/gst-libs/gst/video/videosink.h
+++ b/gst-libs/gst/video/videosink.h
@@ -24,9 +24,7 @@
#include <gst/gst.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GST_TYPE_VIDEOSINK (gst_videosink_get_type())
#define GST_VIDEOSINK(obj) \
@@ -68,8 +66,6 @@ struct _GstVideoSinkClass {
GType gst_videosink_get_type (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GST_VIDEOSINK_H__ */