video-blend: Fix linking error with C++

Add missing extern "C"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4727>
This commit is contained in:
Seungha Yang 2023-05-29 02:14:44 +09:00 committed by GStreamer Marge Bot
parent 2197cdc289
commit 5a68831d74

View file

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