mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
scrap: use the same bitrate ratio control as vpx
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -12,7 +12,7 @@ use crate::vpxcodec::*;
|
||||
use hbb_common::{
|
||||
anyhow::anyhow,
|
||||
log,
|
||||
message_proto::{video_frame, ImageQuality, Message, VP9s, VideoCodecState},
|
||||
message_proto::{video_frame, Message, VP9s, VideoCodecState},
|
||||
ResultType,
|
||||
};
|
||||
#[cfg(feature = "hwcodec")]
|
||||
@@ -31,7 +31,7 @@ pub struct HwEncoderConfig {
|
||||
pub codec_name: String,
|
||||
pub width: usize,
|
||||
pub height: usize,
|
||||
pub quallity: ImageQuality,
|
||||
pub bitrate_ratio: i32,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user