mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
filters/f_lavfi: handle removed AV_OPT_TYPE_CHANNEL_LAYOUT
See: 65ddc74988
This commit is contained in:
parent
62b1bad755
commit
78447c4b91
@ -1034,7 +1034,11 @@ static const char *get_avopt_type_name(enum AVOptionType type)
|
||||
case AV_OPT_TYPE_VIDEO_RATE: return "fps";
|
||||
case AV_OPT_TYPE_DURATION: return "duration";
|
||||
case AV_OPT_TYPE_COLOR: return "color";
|
||||
#if LIBAVUTIL_VERSION_MAJOR < 59
|
||||
case AV_OPT_TYPE_CHANNEL_LAYOUT: return "channellayout";
|
||||
#else
|
||||
case AV_OPT_TYPE_CHLAYOUT: return "channellayout";
|
||||
#endif
|
||||
case AV_OPT_TYPE_BOOL: return "bool";
|
||||
case AV_OPT_TYPE_CONST: // fallthrough
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user