summaryrefslogtreecommitdiff
path: root/libavformat/options_table.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-03-06 17:58:33 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-05-28 22:04:56 +0200
commit6d212599aa684f30511fb08ca30fe2378405304e (patch)
tree9c6c298ebb355a0e8a3ebbe9738c188be5b21d8e /libavformat/options_table.h
parent7dba055bb0d31b2c79d9c3a66abb849a71417d3c (diff)
avformat: Provide a standard compliance flag
Provide f_strict for avconv usage. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/options_table.h')
-rw-r--r--libavformat/options_table.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/options_table.h b/libavformat/options_table.h
index 70194202d7..ac052c805b 100644
--- a/libavformat/options_table.h
+++ b/libavformat/options_table.h
@@ -60,6 +60,11 @@ static const AVOption avformat_options[] = {
{"buffer", "detect improper bitstream length", 0, AV_OPT_TYPE_CONST, {.i64 = AV_EF_BUFFER }, INT_MIN, INT_MAX, D, "err_detect"},
{"explode", "abort decoding on minor error detection", 0, AV_OPT_TYPE_CONST, {.i64 = AV_EF_EXPLODE }, INT_MIN, INT_MAX, D, "err_detect"},
{"max_interleave_delta", "maximum buffering duration for interleaving", OFFSET(max_interleave_delta), AV_OPT_TYPE_INT64, { .i64 = 10000000 }, 0, INT64_MAX, E },
+{"f_strict", "how strictly to follow the standards (deprecated; use strict, save via avconv)", OFFSET(strict_std_compliance), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, D|E, "strict"},
+{"strict", "how strictly to follow the standards", OFFSET(strict_std_compliance), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, D|E, "strict"},
+{"strict", "strictly conform to all the things in the spec no matter what the consequences", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_STRICT }, INT_MIN, INT_MAX, D|E, "strict"},
+{"normal", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_NORMAL }, INT_MIN, INT_MAX, D|E, "strict"},
+{"experimental", "allow non-standardized experimental variants", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_EXPERIMENTAL }, INT_MIN, INT_MAX, D|E, "strict"},
{NULL},
};