mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
hwcontext_vaapi: Always include DRM hwcontext header
Fixes building with VAAPI but not libdrm, which was broken by 389f4c3e0d0a26a7d3d2696017384874cf5e93fa. Just unconditionally include the header, since it doesn't depend on libdrm being present.
This commit is contained in:
parent
c99f837dde
commit
0f3d1c69b5
@ -40,15 +40,13 @@
|
||||
#include "buffer.h"
|
||||
#include "common.h"
|
||||
#include "hwcontext.h"
|
||||
#include "hwcontext_drm.h"
|
||||
#include "hwcontext_internal.h"
|
||||
#include "hwcontext_vaapi.h"
|
||||
#include "mem.h"
|
||||
#include "pixdesc.h"
|
||||
#include "pixfmt.h"
|
||||
|
||||
#if CONFIG_LIBDRM
|
||||
# include "hwcontext_drm.h"
|
||||
#endif
|
||||
|
||||
typedef struct VAAPIDevicePriv {
|
||||
#if HAVE_VAAPI_X11
|
||||
|
Loading…
Reference in New Issue
Block a user