diff options
author | wm4 <wm4@nowhere> | 2014-03-16 16:23:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-16 16:23:12 +0100 |
commit | 3db365322737b50e9e1437ff93e1631f71f811bb (patch) | |
tree | 776625f6a21aeb68d4fd996708afa1543a998e16 /video | |
parent | 2963d84a9b716bea0140e5bbf76898d3e9bc87b0 (diff) | |
download | mpv-3db365322737b50e9e1437ff93e1631f71f811bb.tar.bz2 mpv-3db365322737b50e9e1437ff93e1631f71f811bb.tar.xz |
video: fix FFmpeg or Libav being a special snowflake
Diffstat (limited to 'video')
-rw-r--r-- | video/fmt-conversion.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index 30377735cf..bb296b596d 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -67,7 +67,8 @@ static const struct { {IMGFMT_NV12, AV_PIX_FMT_NV12}, {IMGFMT_NV21, AV_PIX_FMT_NV21}, {IMGFMT_Y8, AV_PIX_FMT_GRAY8}, - {IMGFMT_YA8, AV_PIX_FMT_GRAY8A}, + // FFmpeg prefers AV_PIX_FMT_GRAY8A, but Libav has only Y400A + {IMGFMT_YA8, AV_PIX_FMT_Y400A}, {IMGFMT_Y16_LE, AV_PIX_FMT_GRAY16LE}, {IMGFMT_Y16_BE, AV_PIX_FMT_GRAY16BE}, {IMGFMT_410P, AV_PIX_FMT_YUV410P}, |