Enables the usage of such values as AV_EF_EXPLODE in encoders, which
can be useful in cases such as subtitle encoders where they have the
responsibility to validate the correctness of an incoming ASS dialog line.
Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
{"careful","consider things that violate the spec, are fast to check and have not been seen in the wild as errors",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_CAREFUL},INT_MIN,INT_MAX,A|V|D,"err_detect"},
{"compliant","consider all spec non compliancies as errors",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_COMPLIANT|AV_EF_CAREFUL},INT_MIN,INT_MAX,A|V|D,"err_detect"},
{"aggressive","consider things that a sane encoder should not do as an error",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_AGGRESSIVE|AV_EF_COMPLIANT|AV_EF_CAREFUL},INT_MIN,INT_MAX,A|V|D,"err_detect"},
{"careful","consider things that violate the spec, are fast to check and have not been seen in the wild as errors",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_CAREFUL},INT_MIN,INT_MAX,A|V|S|D|E,"err_detect"},
{"compliant","consider all spec non compliancies as errors",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_COMPLIANT|AV_EF_CAREFUL},INT_MIN,INT_MAX,A|V|S|D|E,"err_detect"},
{"aggressive","consider things that a sane encoder should not do as an error",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_AGGRESSIVE|AV_EF_COMPLIANT|AV_EF_CAREFUL},INT_MIN,INT_MAX,A|V|S|D|E,"err_detect"},