From ede135e8c3b7ebe0e952d170cf9e0271da89fab8 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Tue, 26 May 2020 21:59:00 -0400 Subject: [PATCH] more gray formats --- src/validation.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/validation.c b/src/validation.c index b3ba543..ee3232d 100644 --- a/src/validation.c +++ b/src/validation.c @@ -12,7 +12,10 @@ static int validate_video_pixel_format(enum AVPixelFormat format) { switch (format) { // Still image formats + case AV_PIX_FMT_YA8: + case AV_PIX_FMT_YA16: case AV_PIX_FMT_GRAY8: + case AV_PIX_FMT_GRAY8A: case AV_PIX_FMT_GRAY10: case AV_PIX_FMT_GRAY12: case AV_PIX_FMT_PAL8: