mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-17 16:36:49 +00:00
VNC-151 Adjust NVENC rate control mode
This commit is contained in:
parent
cce3ebc75e
commit
2d8a3cdb3f
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue