diff --git a/common/rfb/encoders/FFMPEGHWEncoder.cxx b/common/rfb/encoders/FFMPEGHWEncoder.cxx index 404d54b..e6692f3 100644 --- a/common/rfb/encoders/FFMPEGHWEncoder.cxx +++ b/common/rfb/encoders/FFMPEGHWEncoder.cxx @@ -103,7 +103,7 @@ namespace rfb { if constexpr (HWDeviceType == AV_HWDEVICE_TYPE_CUDA && AVPixFmt == AV_PIX_FMT_CUDA) { // NVENC low-latency settings // Rate control mode: Constant Bit Rate (CBR) - if (ffmpeg.av_opt_set(ctx->priv_data, "rc", "vbr_hq", 0) < 0) { + if (ffmpeg.av_opt_set(ctx->priv_data, "rc", "vbr", 0) < 0) { vlog.info("Cannot set rc to cbr"); }