reset internal rate control states

This commit is contained in:
aomiki authored and xytovl committed 2025-10-29 19:19:22 +01:00
1 parent 442e09dcfc
commit 4908f50a00
1 file changed
+1
+1
View File
@@ -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