mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
va: Fix libdrm include
The libdrm/ prefix should not be used, it will be provided by the pkgconfig file. Also HAVE_LIBDRM is necessary. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7760>
This commit is contained in:
parent
892bea99cd
commit
7ae9cf8136
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@
|
|||
#include <gst/video/video.h>
|
||||
#include <va/va.h>
|
||||
|
||||
#ifndef G_OS_WIN32
|
||||
#include <libdrm/drm_fourcc.h>
|
||||
#ifdef HAVE_LIBDRM
|
||||
#include <drm_fourcc.h>
|
||||
#else
|
||||
/**
|
||||
* DRM_FORMAT_INVALID: (skip) (attributes doc.skip=true)
|
||||
|
|
Loading…
Reference in a new issue