From 1ad036a2ef068928640eeda7352e5e70379e2119 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 30 Jun 2017 18:01:29 +0200 Subject: video: get rid of swapped packed YUV Another legacy annoyance. The only place where packed YUV is still important is slightly older Apple hardware or drivers, which require it for efficient hardware decoding. --- video/out/vo_xv.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/out/vo_xv.c') diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index 0af6f436be..82d7c8bd7c 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -104,7 +104,6 @@ struct xvctx { #define MP_FOURCC_I420 MP_FOURCC('I', '4', '2', '0') #define MP_FOURCC_IYUV MP_FOURCC('I', 'Y', 'U', 'V') #define MP_FOURCC_UYVY MP_FOURCC('U', 'Y', 'V', 'Y') -#define MP_FOURCC_YUY2 MP_FOURCC('Y', 'U', 'Y', '2') struct fmt_entry { int imgfmt; @@ -113,7 +112,6 @@ struct fmt_entry { static const struct fmt_entry fmt_table[] = { {IMGFMT_420P, MP_FOURCC_YV12}, {IMGFMT_420P, MP_FOURCC_I420}, - {IMGFMT_YUYV, MP_FOURCC_YUY2}, {IMGFMT_UYVY, MP_FOURCC_UYVY}, {0} }; -- cgit v1.2.3