mirror of https://github.com/mpv-player/mpv
build: lower required FFmpeg version
The FFmpeg version was last bumped a long time ago, except in commit
1638fa7b46
, where it was used for some obscure pixel
format.
This is pretty annoying, so make it optional.
This commit is contained in:
parent
027ca4fb85
commit
ff67fbf328
|
@ -35,7 +35,9 @@ static const struct {
|
|||
{IMGFMT_RGB24, AV_PIX_FMT_RGB24},
|
||||
{IMGFMT_UYVY, AV_PIX_FMT_UYVY422},
|
||||
{IMGFMT_NV12, AV_PIX_FMT_NV12},
|
||||
#if LIBAVUTIL_VERSION_MICRO >= 100 && LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(56, 27, 0)
|
||||
{IMGFMT_NV24, AV_PIX_FMT_NV24},
|
||||
#endif
|
||||
{IMGFMT_Y8, AV_PIX_FMT_GRAY8},
|
||||
{IMGFMT_Y16, AV_PIX_FMT_GRAY16},
|
||||
{IMGFMT_420P, AV_PIX_FMT_YUV420P},
|
||||
|
|
Loading…
Reference in New Issue