summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-28 21:56:13 +0200
committerwm4 <wm4@nowhere>2015-05-28 21:56:13 +0200
commit6f5a10542c276ad4fa87a2f449dc4173e10fc47d (patch)
treef27fd184990556233bdfb19fb9de21ddc2063219 /video/decode/lavc.h
parent0699a6c598bc1c8968f426be37b62052f7cb1eb9 (diff)
downloadmpv-6f5a10542c276ad4fa87a2f449dc4173e10fc47d.tar.bz2
mpv-6f5a10542c276ad4fa87a2f449dc4173e10fc47d.tar.xz
vdpau: add support for the "new" libavcodec vdpau API
Yet another of these dozens of hwaccel changes. This time, libavcodec provides utility functions, which initialize the vdpau decoder and map codec profiles. So a lot of work the API user had to do falls away. This also will give us support for high bit depth profiles, and possibly HEVC once libavcodec supports it.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index 7f45499eb1..f37f9cc4e6 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -31,6 +31,8 @@ typedef struct lavc_ctx {
int hwdec_w;
int hwdec_h;
int hwdec_profile;
+
+ bool hwdec_request_reinit;
} vd_ffmpeg_ctx;
struct vd_lavc_hwdec {