From 2958078a9ba77fd98747307358c7665400c22f32 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Wed, 27 May 2020 00:35:37 -0400 Subject: [PATCH] add support for monoblack/monowhite --- src/validation.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/validation.c b/src/validation.c index 61f5adf..6156358 100644 --- a/src/validation.c +++ b/src/validation.c @@ -12,6 +12,8 @@ static int validate_video_pixel_format(enum AVPixelFormat format) { switch (format) { // Still image formats + case AV_PIX_FMT_MONOBLACK: + case AV_PIX_FMT_MONOWHITE: case AV_PIX_FMT_YA16LE: case AV_PIX_FMT_YA16BE: case AV_PIX_FMT_GRAY8: