use idr param & deal with narrowing conversion warns

This commit is contained in:
aomiki
2025-10-29 19:19:22 +01:00
committed by xytovl
parent 4908f50a00
commit 1635bdabce
2 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ private:
float fps;
int bytesPerPixel = 1;
NV_ENC_RC_PARAMS get_rc_params(int bitrate);
NV_ENC_RC_PARAMS get_rc_params(uint64_t bitrate);
public:
video_encoder_nvenc(wivrn_vk_bundle & vk, encoder_settings & settings, float fps, uint8_t stream_idx);