mirror of https://github.com/mpv-player/mpv
filters/f_lavfi: rename channellayout to ch_layout
To better match upstream naming.
This commit is contained in:
parent
9ef614d6a3
commit
414ddbd628
|
@ -1035,9 +1035,9 @@ static const char *get_avopt_type_name(enum AVOptionType type)
|
||||||
case AV_OPT_TYPE_DURATION: return "duration";
|
case AV_OPT_TYPE_DURATION: return "duration";
|
||||||
case AV_OPT_TYPE_COLOR: return "color";
|
case AV_OPT_TYPE_COLOR: return "color";
|
||||||
#if LIBAVUTIL_VERSION_MAJOR < 59
|
#if LIBAVUTIL_VERSION_MAJOR < 59
|
||||||
case AV_OPT_TYPE_CHANNEL_LAYOUT: return "channellayout";
|
case AV_OPT_TYPE_CHANNEL_LAYOUT: return "ch_layout";
|
||||||
#else
|
#else
|
||||||
case AV_OPT_TYPE_CHLAYOUT: return "channellayout";
|
case AV_OPT_TYPE_CHLAYOUT: return "ch_layout";
|
||||||
#endif
|
#endif
|
||||||
case AV_OPT_TYPE_BOOL: return "bool";
|
case AV_OPT_TYPE_BOOL: return "bool";
|
||||||
case AV_OPT_TYPE_CONST: // fallthrough
|
case AV_OPT_TYPE_CONST: // fallthrough
|
||||||
|
|
Loading…
Reference in New Issue