aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gstreamer/x264-api-imports.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/gstreamer/x264-api-imports.diff
move to own git serverHEADmaster
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>
+