summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-24 16:51:29 +0100
committerwm4 <wm4@nowhere>2013-02-24 16:51:29 +0100
commit90efe7cf4865ed615b2932dee5d8b795a3c43290 (patch)
tree6a9c1b942c63afbd2b4e9b60d27c22ca6983fb06 /video/filter
parentedddf812328cdb279074737dfd7680a9612b67c2 (diff)
downloadmpv-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/filter')
-rw-r--r--video/filter/vf_scale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf_scale.c b/video/filter/vf_scale.c
index 08008eb829..08fb0c7ae1 100644
--- a/video/filter/vf_scale.c
+++ b/video/filter/vf_scale.c
@@ -132,6 +132,7 @@ static const unsigned int outfmt_list[]={
IMGFMT_RGB4_BYTE,
IMGFMT_BGR4_BYTE,
IMGFMT_MONO,
+ IMGFMT_MONO_W,
0
};