aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/options_table.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-07-26 16:35:12 -0700
committerAnton Khirnov <anton@khirnov.net>2012-07-29 07:58:00 +0200
commit681ed0009905a088aae2a5caf2308d89aaa80562 (patch)
treee782d35012e726cd30a9cf09902ec92c1e477cfb /libavformat/options_table.h
parentd905c6440637fafca56c4cd17cbe041f2aaae9ff (diff)
downloadffmpeg-681ed0009905a088aae2a5caf2308d89aaa80562.tar.gz
avf: introduce nobuffer option
Useful in cases where a significant analyzeduration is still needed, while minimizing buffering before output. An example is processing low-latency streams where all media types won't necessarily come in if the analyzeduration is small. Additional changes by Josh Allmann <joshua.allmann@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/options_table.h')
-rw-r--r--libavformat/options_table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/options_table.h b/libavformat/options_table.h
index 58f3dcff68..f3384cab25 100644
--- a/libavformat/options_table.h
+++ b/libavformat/options_table.h
@@ -40,6 +40,7 @@ static const AVOption options[]={
{"noparse", "disable AVParsers, this needs nofillin too", 0, AV_OPT_TYPE_CONST, {.dbl = AVFMT_FLAG_NOPARSE }, INT_MIN, INT_MAX, D, "fflags"},
{"igndts", "ignore dts", 0, AV_OPT_TYPE_CONST, {.dbl = AVFMT_FLAG_IGNDTS }, INT_MIN, INT_MAX, D, "fflags"},
{"discardcorrupt", "discard corrupted frames", 0, AV_OPT_TYPE_CONST, {.dbl = AVFMT_FLAG_DISCARD_CORRUPT }, INT_MIN, INT_MAX, D, "fflags"},
+{"nobuffer", "reduce the latency introduced by optional buffering", 0, AV_OPT_TYPE_CONST, {.dbl = AVFMT_FLAG_NOBUFFER }, 0, INT_MAX, D, "fflags"},
{"analyzeduration", "how many microseconds are analyzed to estimate duration", OFFSET(max_analyze_duration), AV_OPT_TYPE_INT, {.dbl = 5*AV_TIME_BASE }, 0, INT_MAX, D},
{"cryptokey", "decryption key", OFFSET(key), AV_OPT_TYPE_BINARY, {.dbl = 0}, 0, 0, D},
{"indexmem", "max memory used for timestamp index (per stream)", OFFSET(max_index_size), AV_OPT_TYPE_INT, {.dbl = 1<<20 }, 0, INT_MAX, D},