From 8479f99c7dd227d9cb94d262602f1298f71cf33b Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Tue, 18 Sep 2018 23:30:46 +0100 Subject: vaapi_encode: Add support for max QP in rate control This was added in libva 2.1.0 (VAAPI 1.1.0). Use AVCodecContext.qmax, matching the existing behaviour for qmin, and clean up the defaults so that we only pass min/max when explicitly set. --- doc/encoders.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/encoders.texi') diff --git a/doc/encoders.texi b/doc/encoders.texi index e550bd9893..4133bc15ee 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -2588,7 +2588,8 @@ Speed / quality tradeoff: higher values are faster / worse quality. Size / quality tradeoff: higher values are smaller / worse quality. @item @option{qmin} -(only: @option{qmax} is not supported) +@item +@option{qmax} @item @option{i_qfactor} / @option{i_quant_factor} @item -- cgit v1.2.3