va: Fix Windows build

DRM_FORMAT_MOD_LINEAR and DRM_FORMAT_MOD_INVALID are not defined
on Windows

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4864>
This commit is contained in:
Seungha Yang 2023-06-15 01:47:37 +09:00 committed by GStreamer Marge Bot
parent 6f43bdce49
commit 5b6ecf359e

View file

@ -41,6 +41,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <libdrm/drm_fourcc.h>
#else
#define DRM_FORMAT_MOD_LINEAR 0ULL
#define DRM_FORMAT_MOD_INVALID 0xffffffffffffff
#endif
#include "gstvasurfacecopy.h"