more gray formats
This commit is contained in:
parent
df484323e1
commit
ede135e8c3
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue