summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-27 16:29:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-27 16:30:01 +0100
commitf5c0b9aa6f3843d33961981aa16317d05d74e9dc (patch)
tree06a695f4e3663d4310bdbc3eed0906de92920f25 /libavcodec/mpegvideo.c
parentedde562130feb901f29d7cef930c4b5b133661b9 (diff)
parent96753bd00d6d4046db6818c0aadc21bf2a11d77b (diff)
Merge commit '96753bd00d6d4046db6818c0aadc21bf2a11d77b'
* commit '96753bd00d6d4046db6818c0aadc21bf2a11d77b': dsputil: x86: Correct the number of registers used in put_no_rnd_pixels16_l2 dsputil: add missing HAVE_YASM guard hwaccel: do not offer unsupported pixel formats vdpau: add missing pixel format for H.264 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index e6e7337082..33e275826b 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -128,10 +128,18 @@ const enum AVPixelFormat ff_pixfmt_list_420[] = {
};
const enum AVPixelFormat ff_hwaccel_pixfmt_list_420[] = {
+#if CONFIG_DXVA2
AV_PIX_FMT_DXVA2_VLD,
+#endif
+#if CONFIG_VAAPI
AV_PIX_FMT_VAAPI_VLD,
+#endif
+#if CONFIG_VDA
AV_PIX_FMT_VDA_VLD,
+#endif
+#if CONFIG_VDPAU
AV_PIX_FMT_VDPAU,
+#endif
AV_PIX_FMT_YUV420P,
AV_PIX_FMT_NONE
};