From c46db38cde8e8fd8ecb1c6602f10ec0e002f29a8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 31 Mar 2016 13:12:41 +0200 Subject: hwcontext: add a dxva2 implementation --- libavutil/hwcontext.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavutil/hwcontext.c') diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index 9ffc7189ce..2ddae90f10 100644 --- a/libavutil/hwcontext.c +++ b/libavutil/hwcontext.c @@ -32,6 +32,9 @@ static const HWContextType *hw_table[] = { #if CONFIG_CUDA &ff_hwcontext_type_cuda, #endif +#if CONFIG_DXVA2 + &ff_hwcontext_type_dxva2, +#endif #if CONFIG_VAAPI &ff_hwcontext_type_vaapi, #endif -- cgit v1.2.3