mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 10:12:20 +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/6932>
This commit is contained in:
parent
236d6714ec
commit
deaa0aef79
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@
|
||||||
#include <gst/video/video.h>
|
#include <gst/video/video.h>
|
||||||
#include <va/va.h>
|
#include <va/va.h>
|
||||||
|
|
||||||
#ifndef G_OS_WIN32
|
#ifdef HAVE_LIBDRM
|
||||||
#include <libdrm/drm_fourcc.h>
|
#include <drm_fourcc.h>
|
||||||
#else
|
#else
|
||||||
/**
|
/**
|
||||||
* DRM_FORMAT_INVALID: (skip) (attributes doc.skip=true)
|
* DRM_FORMAT_INVALID: (skip) (attributes doc.skip=true)
|
||||||
|
|
Loading…
Reference in a new issue