diff options
author | wm4 <wm4@nowhere> | 2013-02-24 16:51:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-24 16:51:29 +0100 |
commit | 90efe7cf4865ed615b2932dee5d8b795a3c43290 (patch) | |
tree | 6a9c1b942c63afbd2b4e9b60d27c22ca6983fb06 /video/fmt-conversion.c | |
parent | edddf812328cdb279074737dfd7680a9612b67c2 (diff) | |
download | mpv-90efe7cf4865ed615b2932dee5d8b795a3c43290.tar.bz2 mpv-90efe7cf4865ed615b2932dee5d8b795a3c43290.tar.xz |
demux_mf: support .xbm
And support the PIX_FMT_MONOWHITE pixel format. (This is really weird:
unlike PIX_FMT_MONOBLACK, it uses white pixels. I have no idea why
libavcodec doesn't just convert the pixel format on the fly, instead of
bothering everyone with really special pixel formats.)
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r-- | video/fmt-conversion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index a98dc97d51..819448772e 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -38,6 +38,7 @@ static const struct { {IMGFMT_BGR8, PIX_FMT_RGB8}, {IMGFMT_BGR4, PIX_FMT_RGB4}, {IMGFMT_MONO, PIX_FMT_MONOBLACK}, + {IMGFMT_MONO_W, PIX_FMT_MONOWHITE}, {IMGFMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE}, {IMGFMT_BGR4_BYTE, PIX_FMT_RGB4_BYTE}, {IMGFMT_RGB48_LE, PIX_FMT_RGB48LE}, |