diff options
author | Seungha Yang <seungha@centricular.com> | 2023-05-29 02:14:44 +0900 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-06-11 15:23:36 +0000 |
commit | 28084aef3e4f7b342d064435898a5738382f4a67 (patch) | |
tree | cfafe4f7dacba56e136423be3b603ae093112a0c | |
parent | 5a379facdd2c59f27f5ff6b536c2fa131aa6e850 (diff) |
video-blend: Fix linking error with C++
Add missing extern "C"
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4830>
-rw-r--r-- | subprojects/gst-plugins-base/gst-libs/gst/video/video-blend.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/video-blend.h b/subprojects/gst-plugins-base/gst-libs/gst/video/video-blend.h index 1d6175b793..e5ef32596a 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/video-blend.h +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/video-blend.h @@ -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 |