mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-21 17:41:54 -08:00
reset internal rate control states
This commit is contained in:
1 parent
442e09dcfc
commit
4908f50a00
1 file changed
+1
@@ -426,6 +426,7 @@ std::optional<video_encoder::data> video_encoder_nvenc::encode(bool idr, std::ch
|
||||
NV_ENC_RECONFIGURE_PARAMS reconfig_params{
|
||||
.version = NV_ENC_RECONFIGURE_PARAMS_VER,
|
||||
.reInitEncodeParams = init_params,
|
||||
.resetEncoder = 1,
|
||||
.forceIDR = 1};
|
||||
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user