summaryrefslogtreecommitdiffstats
path: root/video/vaapi.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-17 14:20:53 +0200
committerwm4 <wm4@nowhere>2015-10-17 14:20:53 +0200
commit0eb45343ca004aeb5e79f174f1d4df49f7725570 (patch)
tree5487d87ef0bf79f61291f6c60a9c98dce667a111 /video/vaapi.c
parent7e7ef2f01d56cc1a89b41ee45419075e01bf1ebd (diff)
downloadmpv-0eb45343ca004aeb5e79f174f1d4df49f7725570.tar.bz2
mpv-0eb45343ca004aeb5e79f174f1d4df49f7725570.tar.xz
vaapi: drop non-existing FourCC
This VA_FOURCC isn't even defined by latest drivers, so I'm just assuming it doesn't exist and never existed. For planar 4:2:0, VA_FOURCC_YV12 is normally preferred, and there's even a VA_FOURCC_IYUV for 4:2:0 with unswapped planes.
Diffstat (limited to 'video/vaapi.c')
-rw-r--r--video/vaapi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/vaapi.c b/video/vaapi.c
index 16954f7313..a8d27d50e4 100644
--- a/video/vaapi.c
+++ b/video/vaapi.c
@@ -52,7 +52,6 @@ struct fmtentry {
static const struct fmtentry va_to_imgfmt[] = {
{VA_FOURCC_NV12, IMGFMT_NV12},
{VA_FOURCC_YV12, IMGFMT_420P},
- {VA_FOURCC_I420, IMGFMT_420P},
{VA_FOURCC_IYUV, IMGFMT_420P},
{VA_FOURCC_UYVY, IMGFMT_UYVY},
{VA_FOURCC_YUY2, IMGFMT_YUYV},