even more gray

This commit is contained in:
byte[] 2020-05-26 21:59:57 -04:00
parent ede135e8c3
commit 55c61df4e6

View file

@ -12,12 +12,12 @@ static int validate_video_pixel_format(enum AVPixelFormat format)
{ {
switch (format) { switch (format) {
// Still image formats // Still image formats
case AV_PIX_FMT_YA8:
case AV_PIX_FMT_YA16: case AV_PIX_FMT_YA16:
case AV_PIX_FMT_GRAY8: case AV_PIX_FMT_GRAY8:
case AV_PIX_FMT_GRAY8A: case AV_PIX_FMT_GRAY8A:
case AV_PIX_FMT_GRAY10: case AV_PIX_FMT_GRAY10:
case AV_PIX_FMT_GRAY12: case AV_PIX_FMT_GRAY12:
case AV_PIX_FMT_GRAY16:
case AV_PIX_FMT_PAL8: case AV_PIX_FMT_PAL8:
case AV_PIX_FMT_RGB8: case AV_PIX_FMT_RGB8:
case AV_PIX_FMT_RGB24: case AV_PIX_FMT_RGB24: