mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +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
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue