[FFmpeg-devel] [PATCH 3/6] lavc: deprecate -ab as part of FF_API_OLD_AVOPTIONS.
Ronald S. Bultje
rsbultje at gmail.com
Mon Aug 17 17:52:16 CEST 2015
---
libavcodec/options_table.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index 5376cbb..fd9c045 100644
--- a/libavcodec/options_table.h
+++ b/libavcodec/options_table.h
@@ -43,7 +43,9 @@
static const AVOption avcodec_options[] = {
{"b", "set bitrate (in bits/s)", OFFSET(bit_rate), AV_OPT_TYPE_INT, {.i64 = AV_CODEC_DEFAULT_BITRATE }, 0, INT_MAX, A|V|E},
+#if FF_API_OLD_AVOPTIONS
{"ab", "set bitrate (in bits/s)", OFFSET(bit_rate), AV_OPT_TYPE_INT, {.i64 = 128*1000 }, 0, INT_MAX, A|E},
+#endif
{"bt", "Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far "
"ratecontrol is willing to deviate from the target average bitrate value. This is not related "
"to minimum/maximum bitrate. Lowering tolerance too much has an adverse effect on quality.",
--
2.1.2
More information about the ffmpeg-devel
mailing list