From 72bbfaa51c7075e39bdf97a6c1a80689aa8aad3b Mon Sep 17 00:00:00 2001 From: melpon Date: Mon, 4 Mar 2024 20:48:34 +0900 Subject: [PATCH] bps -> kbps --- src/aom_av1_video_encoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aom_av1_video_encoder.cpp b/src/aom_av1_video_encoder.cpp index 061bec3..ce7f706 100644 --- a/src/aom_av1_video_encoder.cpp +++ b/src/aom_av1_video_encoder.cpp @@ -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(settings.bitrate).count(); cfg_.rc_dropframe_thresh = 0; cfg_.g_input_bit_depth = 8; cfg_.kf_mode = AOM_KF_DISABLED;