make hwcodec's bitrate the same as vpx

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-06-29 09:46:42 +08:00
parent b45dc606f1
commit 75fc49b301
4 changed files with 10 additions and 33 deletions

View File

@@ -553,7 +553,7 @@ fn run(sp: GenericService) -> ResultType<()> {
codec_name,
width,
height,
bitrate_ratio: bitrate as _,
bitrate: bitrate as _,
}),
None => EncoderCfg::VPX(VpxEncoderConfig {
width: width as _,