mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Fix for ffmpeg 4.4 by inj
This commit is contained in:
parent
ce71019f44
commit
5c6514929d
6
video.c
6
video.c
@ -139,7 +139,7 @@ typedef enum {
|
||||
#include <GL/freeglut_ext.h>
|
||||
// clang-format on
|
||||
#endif
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/hwcontext.h>
|
||||
#include <libavutil/mastering_display_metadata.h>
|
||||
#include <libavutil/pixdesc.h>
|
||||
@ -155,8 +155,9 @@ typedef enum {
|
||||
#endif
|
||||
|
||||
#ifdef VAAPI
|
||||
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(57,74,100)
|
||||
#include <libavcodec/vaapi.h>
|
||||
#endif
|
||||
#include <libdrm/drm_fourcc.h>
|
||||
#include <va/va_drmcommon.h>
|
||||
#ifdef RASPI
|
||||
@ -196,7 +197,6 @@ typedef void *EGLImageKHR;
|
||||
#include <libplacebo/renderer.h>
|
||||
#endif
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libswscale/swscale.h>
|
||||
|
||||
#if defined(YADIF) || defined(VAAPI)
|
||||
|
Loading…
Reference in New Issue
Block a user