Skip to content

Commit 62341bd

Browse files
fix(nodes): add missing framerate field in nvcodec test
The force_cpu_encoder_rejected test was constructing NvAv1EncoderConfig with all fields explicitly but missed the new framerate field added in the review-fix round. Signed-off-by: StreamKit Devin <devin@streamkit.dev> Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
1 parent de36ad9 commit 62341bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/nodes/src/video/nv_av1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ mod tests {
818818
hw_accel: HwAccelMode::ForceCpu,
819819
cuda_device: None,
820820
bitrate: 2_000_000,
821+
framerate: 30,
821822
keyframe_interval: None,
822823
});
823824
assert!(result.is_err(), "ForceCpu should be rejected by NV encoder");

0 commit comments

Comments
 (0)