allow yuva

This commit is contained in:
byte[] 2020-05-26 22:53:39 -04:00
parent fa9e49523e
commit db5d2462e6

View file

@ -35,6 +35,9 @@ static int validate_video_pixel_format(enum AVPixelFormat format)
case AV_PIX_FMT_YUVJ422P: case AV_PIX_FMT_YUVJ422P:
case AV_PIX_FMT_YUVJ444P: case AV_PIX_FMT_YUVJ444P:
case AV_PIX_FMT_YUVJ440P: case AV_PIX_FMT_YUVJ440P:
case AV_PIX_FMT_YUVA420P:
case AV_PIX_FMT_YUVA422P:
case AV_PIX_FMT_YUVA444P:
// Video frame formats // Video frame formats
case AV_PIX_FMT_YUV420P: case AV_PIX_FMT_YUV420P: