summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-12-07 15:04:57 +0100
committerAnton Khirnov <anton@khirnov.net>2016-02-14 22:06:04 +0100
commita001ce31bc2bcf875a39b5fb22dae49120293b42 (patch)
tree50a7e278654b31b3e90c3892013e3ce8376c1985 /libavutil/hwcontext.c
parent89923e418b494e337683442ab896d754bc07341a (diff)
hwcontext: add a VDPAU implementation
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 bec8f61e0e..2aa712e963 100644
--- a/libavutil/hwcontext.c
+++ b/libavutil/hwcontext.c
@@ -29,6 +29,9 @@
#include "pixfmt.h"
static const HWContextType *hw_table[] = {
+#if CONFIG_VDPAU
+ &ff_hwcontext_type_vdpau,
+#endif
NULL,
};