doc/encoders: Fix libkvazaar documentation
The -threads option is ignored with libkvazaar since it does not have any of the AV_CODEC_CAP_{FRAME,SLICE,AUTO}_THREADS capabilities. This commit removes the incorrect documentation as well as the no-op of setting the number of threads in libkvazaar encoder. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
This commit is contained in:
@@ -74,7 +74,6 @@ static av_cold int libkvazaar_init(AVCodecContext *avctx)
|
||||
cfg->height = avctx->height;
|
||||
cfg->framerate =
|
||||
avctx->time_base.den / (double)(avctx->time_base.num * avctx->ticks_per_frame);
|
||||
cfg->threads = avctx->thread_count;
|
||||
cfg->target_bitrate = avctx->bit_rate;
|
||||
cfg->vui.sar_width = avctx->sample_aspect_ratio.num;
|
||||
cfg->vui.sar_height = avctx->sample_aspect_ratio.den;
|
||||
|
Reference in New Issue
Block a user