summaryrefslogtreecommitdiffstats
path: root/video/out/vo_xv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-30 18:01:29 +0200
committerwm4 <wm4@nowhere>2017-06-30 18:01:29 +0200
commit1ad036a2ef068928640eeda7352e5e70379e2119 (patch)
tree1844cee1f4021c727b8fb2207548f74bbba29382 /video/out/vo_xv.c
parent6eb0bbe312c8422f3180b530126e1dfebb47295e (diff)
downloadmpv-1ad036a2ef068928640eeda7352e5e70379e2119.tar.bz2
mpv-1ad036a2ef068928640eeda7352e5e70379e2119.tar.xz
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.
Diffstat (limited to 'video/out/vo_xv.c')
-rw-r--r--video/out/vo_xv.c2
1 files changed, 0 insertions, 2 deletions
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}
};