vcpkg/ports/gstreamer/remove_x264_define.patch
Alexander Neumann 779ce74ef6
[gstreamer] enable builds on more platforms (#27050)
* gstreamer fix build on linux

* v db

* let ci actually build more platforms.

* move qtmultimedia on baseline

* gstreamer osx
2022-10-03 14:07:49 -07:00

19 lines
626 B
Diff

diff --git a/ext/x264/gstx264enc.h b/ext/x264/gstx264enc.h
index 6cbfc5c3d..ba7845b20 100644
--- a/ext/x264/gstx264enc.h
+++ b/ext/x264/gstx264enc.h
@@ -31,13 +31,6 @@
#include <stdint.h>
#endif
-/* The x264.h header says this isn't needed with MinGW, but sometimes the
- * compiler is unable to correctly do the pointer indirection for us, which
- * leads to a segfault when you try to dereference any const values provided
- * by x264.dll. See: https://bugzilla.gnome.org/show_bug.cgi?id=779249 */
-#if defined(_WIN32) && !defined(X264_API_IMPORTS)
-# define X264_API_IMPORTS
-#endif
#include <x264.h>
G_BEGIN_DECLS