aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/pixdesc.c
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2013-12-14 21:29:15 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-12-22 22:03:47 +0100
commit1c63aed232febf4404659bf006237ee4f7f17c9c (patch)
tree8024b37b264802e26a7c481692b6ea1566e83284 /libavutil/pixdesc.c
parentc19f193c6b239782b10bd9df117da2e50468edf9 (diff)
downloadffmpeg-1c63aed232febf4404659bf006237ee4f7f17c9c.tar.gz
Convert XvMC to hwaccel v3
Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r--libavutil/pixdesc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 0cb2f34f57..166190edad 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -324,6 +324,12 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.flags = AV_PIX_FMT_FLAG_HWACCEL,
},
#endif /* FF_API_XVMC */
+#if !FF_API_XVMC
+ [AV_PIX_FMT_XVMC] = {
+ .name = "xvmc",
+ .flags = AV_PIX_FMT_FLAG_HWACCEL,
+ },
+#endif /* !FF_API_XVMC */
[AV_PIX_FMT_UYVY422] = {
.name = "uyvy422",
.nb_components = 3,