aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gstreamer/x264-api-imports.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/gstreamer/x264-api-imports.diff')
-rw-r--r--vcpkg/ports/gstreamer/x264-api-imports.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/gstreamer/x264-api-imports.diff b/vcpkg/ports/gstreamer/x264-api-imports.diff
new file mode 100644
index 0000000..0e4f6dc
--- /dev/null
+++ b/vcpkg/ports/gstreamer/x264-api-imports.diff
@@ -0,0 +1,12 @@
+diff --git a/subprojects/gst-plugins-ugly/ext/x264/gstx264enc.h b/subprojects/gst-plugins-ugly/ext/x264/gstx264enc.h
+index b9c9f82..df96c4a 100644
+--- a/subprojects/gst-plugins-ugly/ext/x264/gstx264enc.h
++++ b/subprojects/gst-plugins-ugly/ext/x264/gstx264enc.h
+@@ -36,7 +36,6 @@
+ * 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) && !defined(GST_STATIC_COMPILATION)
+-# define X264_API_IMPORTS
+ #endif
+ #include <x264.h>
+