diff options
Diffstat (limited to 'video/vdpau.h')
-rw-r--r-- | video/vdpau.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/vdpau.h b/video/vdpau.h index f1c29fd50d..0af00f098b 100644 --- a/video/vdpau.h +++ b/video/vdpau.h @@ -10,6 +10,7 @@ #include <vdpau/vdpau_x11.h> #include "common/msg.h" +#include "hwdec.h" #define CHECK_VDP_ERROR(ctx, message) \ do { \ @@ -40,6 +41,8 @@ struct mp_vdpau_ctx { struct mp_log *log; Display *x11; + struct mp_hwdec_ctx hwctx; + // These are mostly immutable, except on preemption. We don't really care // to synchronize the preemption case fully correctly, because it's an // extremely obscure corner case, and basically a vdpau API design bug. |