video-blend: Fix linking error with C++
authorSeungha Yang <seungha@centricular.com>
Sun, 28 May 2023 17:14:44 +0000 (02:14 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 30 May 2023 01:17:36 +0000 (01:17 +0000)
Add missing extern "C"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4735>

subprojects/gst-plugins-base/gst-libs/gst/video/video-blend.h

index 1d6175b..e5ef325 100644 (file)
@@ -27,6 +27,8 @@
 #include <gst/gst.h>
 #include <gst/video/video.h>
 
+G_BEGIN_DECLS
+
 GST_VIDEO_API
 void       gst_video_blend_scale_linear_RGBA  (GstVideoInfo * src, GstBuffer * src_buffer,
                                                gint dest_height, gint dest_width,
@@ -38,4 +40,6 @@ gboolean   gst_video_blend                    (GstVideoFrame * dest,
                                                gint x, gint y,
                                                gfloat global_alpha);
 
+G_END_DECLS
+
 #endif