gl: Rename gstglutils.h functions to prevent symbol conflicts with static linking
authorSebastian Dröge <sebastian@centricular.com>
Sun, 25 Mar 2018 09:53:06 +0000 (12:53 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 25 Mar 2018 09:53:53 +0000 (12:53 +0300)
The gl plugin in -base has the same function.

ext/gl/Makefile.am

index b501a51..63a74f0 100644 (file)
@@ -35,7 +35,11 @@ libgstopenglmixers_la_CFLAGS = \
        $(GST_BASE_CFLAGS) \
        $(GST_CONTROLLER_CFLAGS) \
        $(GST_CFLAGS) \
-       $(X11_CFLAGS)
+       $(X11_CFLAGS) \
+       -Dgst_gl_context_gen_shader=gst_gl_bad_context_gen_shader \
+       -Dgst_gl_multiply_matrix4=Dgst_gl_bad_multiply_matrix4 \
+       -Dgst_gl_get_affine_transformation_meta_as_ndc_ext=Dgst_gl_bad_get_affine_transformation_meta_as_ndc_ext \
+       -Dgst_gl_set_affine_transformation_meta_from_ndc_ext=Dgst_gl_bad_set_affine_transformation_meta_from_ndc_ext
 
 libgstopenglmixers_la_LIBADD = \
        $(top_builddir)/gst-libs/gst/video/libgstbadvideo-@GST_API_VERSION@.la \