]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
remove deprecate struct vaapi_context and the vaapi.h
authoralingherghescu <alin_gherghescu@yahoo.com>
Wed, 29 Mar 2023 03:45:51 +0000 (20:45 -0700)
committerFlole998 <Flole998@users.noreply.github.com>
Thu, 30 Mar 2023 15:07:39 +0000 (17:07 +0200)
- remove deprecate struct vaapi_context and the vaapi.h

src/transcoding/transcode/hwaccels/vaapi.c

index a5ae381064f0fb3aab70d4dffcbcd9a1a57a75a4..28ada3b26bb10e27560b9daa09f529060a363e22 100644 (file)
@@ -21,7 +21,6 @@
 #include "../internals.h"
 #include "vaapi.h"
 
-#include <libavcodec/vaapi.h>
 #include <libavutil/hwcontext.h>
 #include <libavutil/hwcontext_vaapi.h>
 #include <libavutil/pixdesc.h>
@@ -37,7 +36,9 @@ typedef struct tvh_vaapi_device {
 
 
 typedef struct tvh_vaapi_context_t {
-    struct vaapi_context;
+    void *display;
+    uint32_t config_id;
+    uint32_t context_id;
     const char *logpref;
     VAEntrypoint entrypoint;
     enum AVPixelFormat io_format;