summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext.c
diff options
context:
space:
mode:
authorMark Thompson <mrt@jkqxz.net>2016-02-15 19:32:45 +0000
committerAnton Khirnov <anton@khirnov.net>2016-03-19 15:40:22 +0100
commit551c6775abb5e0ad34c26d7e23bc6fbbe8ccc9d4 (patch)
tree291515a20837144df215da96b7df06f516625563 /libavutil/hwcontext.c
parentd264c720f7b74286840719e506daba39f83b438b (diff)
lavu: VAAPI hwcontext implementation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil/hwcontext.c')
-rw-r--r--libavutil/hwcontext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c
index 53e11b8eae..ac1e2c9d67 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_VAAPI
+ &ff_hwcontext_type_vaapi,
+#endif
#if CONFIG_VDPAU
&ff_hwcontext_type_vdpau,
#endif