summaryrefslogtreecommitdiffstats
path: root/video/img_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/img_format.c')
-rw-r--r--video/img_format.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/img_format.c b/video/img_format.c
index b1247747ea..30f84222c7 100644
--- a/video/img_format.c
+++ b/video/img_format.c
@@ -416,7 +416,9 @@ enum mp_csp mp_imgfmt_get_forced_csp(int imgfmt)
if (pixdesc && (pixdesc->flags & AV_PIX_FMT_FLAG_RGB))
return MP_CSP_RGB;
- if (pixfmt == AV_PIX_FMT_PAL8 || pixfmt == AV_PIX_FMT_MONOBLACK)
+ if (pixfmt == AV_PIX_FMT_PAL8 ||
+ pixfmt == AV_PIX_FMT_MONOBLACK ||
+ pixfmt == AV_PIX_FMT_MONOWHITE)
return MP_CSP_RGB;
return MP_CSP_AUTO;