mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-01 07:08:12 +00:00
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:
parent
6f43bdce49
commit
5b6ecf359e
|
@ -41,6 +41,9 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <libdrm/drm_fourcc.h>
|
#include <libdrm/drm_fourcc.h>
|
||||||
|
#else
|
||||||
|
#define DRM_FORMAT_MOD_LINEAR 0ULL
|
||||||
|
#define DRM_FORMAT_MOD_INVALID 0xffffffffffffff
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "gstvasurfacecopy.h"
|
#include "gstvasurfacecopy.h"
|
||||||
|
|
Loading…
Reference in a new issue