mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
gstx264enc: fix for static builds on windows
Fixes #3911 Co-authored-by: L. E. Segovia <amy@centricular.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7672>
This commit is contained in:
parent
f6e8b88128
commit
ada194b725
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
* 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)
|
||||
#if defined(_WIN32) && !defined(X264_API_IMPORTS) && !defined(GST_STATIC_COMPILATION)
|
||||
# define X264_API_IMPORTS
|
||||
#endif
|
||||
#include <x264.h>
|
||||
|
|
Loading…
Reference in a new issue