diff options
author | wm4 <wm4@nowhere> | 2017-06-30 18:07:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-30 18:13:01 +0200 |
commit | 2aff6f8c95b416a8da767c4ee2449b6d86d1d3b0 (patch) | |
tree | 9f343a68404ce497563c67e9bf4d8e9058635aa3 /video/fmt-conversion.c | |
parent | 1ad036a2ef068928640eeda7352e5e70379e2119 (diff) | |
download | mpv-2aff6f8c95b416a8da767c4ee2449b6d86d1d3b0.tar.bz2 mpv-2aff6f8c95b416a8da767c4ee2449b6d86d1d3b0.tar.xz |
vo_direct3d: remove non-working nv12 shader support
It never worked. It relied on some obscure texture format to provide the
equivalent of GL_RG or GL_LUMINANCE_ALPHA, but no hardware seemed to
report support for it ever. No idea what's the correct way to do this.
On D3D11 it exists, of course.
(Actually I'd like to remove the whole VO.)
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r-- | video/fmt-conversion.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index d691445146..6d14c28c7a 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -36,8 +36,6 @@ static const struct { {IMGFMT_UYVY, AV_PIX_FMT_UYVY422}, {IMGFMT_NV12, AV_PIX_FMT_NV12}, {IMGFMT_Y8, AV_PIX_FMT_GRAY8}, - // FFmpeg prefers AV_PIX_FMT_GRAY8A, but Libav has only Y400A - {IMGFMT_YA8, AV_PIX_FMT_Y400A}, {IMGFMT_Y16, AV_PIX_FMT_GRAY16}, {IMGFMT_420P, AV_PIX_FMT_YUV420P}, {IMGFMT_444P, AV_PIX_FMT_YUV444P}, |