mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
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:
parent
2197cdc289
commit
5a68831d74
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue