mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 01:54:11 +00:00
opencvutils: add extern C, for the opencv elements work.
Adding G_BEGIN_DECLS and G_END_DECLS to gstopencvutils.h to allow C-style linking. https://bugzilla.gnome.org/show_bug.cgi?id=754148
This commit is contained in:
parent
e2709ed2ef
commit
1c9763c0eb
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
#include <gst/video/video.h>
|
||||
|
||||
|
||||
|
||||
G_BEGIN_DECLS
|
||||
gboolean
|
||||
gst_opencv_get_ipldepth (gint depth, gint bpp, gint * ipldepth);
|
||||
|
||||
|
@ -42,5 +42,6 @@ gboolean gst_opencv_parse_iplimage_params_from_structure
|
|||
gint * channels, GError ** err);
|
||||
|
||||
GstCaps * gst_opencv_caps_from_cv_image_type (int cv_type);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_OPENCV_UTILS__ */
|
||||
|
|
Loading…
Reference in a new issue