Skip to content

Commit

Permalink
bps -> kbps
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Mar 4, 2024
1 parent bd60140 commit 72bbfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aom_av1_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class AomAv1VideoEncoder : public VideoEncoder {
cfg_.g_threads = 8;
cfg_.g_timebase.num = 1;
cfg_.g_timebase.den = 90000;
cfg_.rc_target_bitrate = settings.bitrate.count();
cfg_.rc_target_bitrate = bitrate_cast<Kbps>(settings.bitrate).count();
cfg_.rc_dropframe_thresh = 0;
cfg_.g_input_bit_depth = 8;
cfg_.kf_mode = AOM_KF_DISABLED;
Expand Down

0 comments on commit 72bbfaa

Please sign in to comment.