diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvaallocator.c b/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvaallocator.c index 46534589d6..d24a55dc37 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvaallocator.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvaallocator.c @@ -40,10 +40,6 @@ #ifndef G_OS_WIN32 #include #include -#include -#else -#define DRM_FORMAT_MOD_LINEAR 0ULL -#define DRM_FORMAT_MOD_INVALID 0xffffffffffffff #endif #include "gstvasurfacecopy.h" diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h b/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h index 950f1e6730..43b61352bf 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/va/gstvavideoformat.h @@ -25,6 +25,23 @@ #include #include +#ifndef G_OS_WIN32 +#include +#else +/** + * DRM_FORMAT_INVALID: (skip) (attributes doc.skip=true) + */ +#define DRM_FORMAT_INVALID 0 +/** + * DRM_FORMAT_MOD_LINEAR: (skip) (attributes doc.skip=true) + */ +#define DRM_FORMAT_MOD_LINEAR 0ULL +/** + * DRM_FORMAT_MOD_INVALID: (skip) (attributes doc.skip=true) + */ +#define DRM_FORMAT_MOD_INVALID 0xffffffffffffff +#endif + G_BEGIN_DECLS GST_VA_API