From db5d2462e69ddc2e52c5011354755c96fd98bf86 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Tue, 26 May 2020 22:53:39 -0400 Subject: [PATCH] allow yuva --- src/validation.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/validation.c b/src/validation.c index 95ecd28..61f5adf 100644 --- a/src/validation.c +++ b/src/validation.c @@ -35,6 +35,9 @@ static int validate_video_pixel_format(enum AVPixelFormat format) case AV_PIX_FMT_YUVJ422P: case AV_PIX_FMT_YUVJ444P: case AV_PIX_FMT_YUVJ440P: + case AV_PIX_FMT_YUVA420P: + case AV_PIX_FMT_YUVA422P: + case AV_PIX_FMT_YUVA444P: // Video frame formats case AV_PIX_FMT_YUV420P: