--- doc/encoders.texi | 3 +++ libavcodec/libopenh264enc.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi index dfab007..76dd53c 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1425,6 +1425,9 @@ Set number of MBs per slice. This is only used when @item allow_skip_frames Allow skipping frames to hit the target bitrate if set to 1. + +@item cabac +Enable CABAC (entropy encoding) if set to 1. Default value is 0. @end table @section jpeg2000 diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c index ec78b12..67c0a60 100644 --- a/libavcodec/libopenh264enc.c +++ b/libavcodec/libopenh264enc.c @@ -57,7 +57,7 @@ static const AVOption options[] = { { "slice_size", "set maximum NAL size in bytes", OFFSET(max_nal_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE }, { "slice_mbs", "set number of MBs per slice", OFFSET(slice_mbs), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE }, { "allow_skip_frames", "allow skipping frames to hit the target bitrate", OFFSET(skip_frames), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, - { "cabac", "Enable cabac", OFFSET(cabac), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE }, + { "cabac", "enable CABAC encoding", OFFSET(cabac), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE }, { NULL } }; -- 1.9.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel