diff options
author | wm4 <wm4@nowhere> | 2015-10-17 14:20:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-17 14:20:53 +0200 |
commit | 0eb45343ca004aeb5e79f174f1d4df49f7725570 (patch) | |
tree | 5487d87ef0bf79f61291f6c60a9c98dce667a111 /video | |
parent | 7e7ef2f01d56cc1a89b41ee45419075e01bf1ebd (diff) | |
download | mpv-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')
-rw-r--r-- | video/vaapi.c | 1 | ||||
-rw-r--r-- | video/vaapi.h | 4 |
2 files changed, 0 insertions, 5 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}, diff --git a/video/vaapi.h b/video/vaapi.h index a3478c018d..888730e514 100644 --- a/video/vaapi.h +++ b/video/vaapi.h @@ -23,10 +23,6 @@ #include <pthread.h> #include <va/va.h> -#ifndef VA_FOURCC_I420 -#define VA_FOURCC_I420 VA_FOURCC('I', '4', '2', '0') -#endif - #define VA_STR_FOURCC(fcc) \ (const char[]){(fcc), (fcc) >> 8u, (fcc) >> 16u, (fcc) >> 24u, 0} |