summaryrefslogtreecommitdiffstats
path: root/video/vdpau.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/vdpau.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/vdpau.c')
-rw-r--r--video/vdpau.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/vdpau.c b/video/vdpau.c
index fabd47c96b..8d0b524b60 100644
--- a/video/vdpau.c
+++ b/video/vdpau.c
@@ -527,10 +527,6 @@ bool mp_vdpau_get_format(int imgfmt, VdpChromaType *out_chroma_type,
case IMGFMT_NV12:
ycbcr = VDP_YCBCR_FORMAT_NV12;
break;
- case IMGFMT_YUYV:
- ycbcr = VDP_YCBCR_FORMAT_YUYV;
- chroma = VDP_CHROMA_TYPE_422;
- break;
case IMGFMT_UYVY:
ycbcr = VDP_YCBCR_FORMAT_UYVY;
chroma = VDP_CHROMA_TYPE_422;