Fix settings button value mismatch

This commit is contained in:
dijunkun
2024-06-06 14:34:16 +08:00
parent 562d54090a
commit 844710af7c
4 changed files with 66 additions and 27 deletions

View File

@@ -20,6 +20,11 @@ int ConfigCenter::SetVideoEncodeFormat(
return 0;
}
int ConfigCenter::SetHardwareVideoCodec(bool hardware_video_codec) {
hardware_video_codec_ = hardware_video_codec;
return 0;
}
ConfigCenter::LANGUAGE ConfigCenter::GetLanguage() { return language_; }
ConfigCenter::VIDEO_QUALITY ConfigCenter::GetVideoQuality() {
@@ -28,4 +33,6 @@ ConfigCenter::VIDEO_QUALITY ConfigCenter::GetVideoQuality() {
ConfigCenter::VIDEO_ENCODE_FORMAT ConfigCenter::GetVideoEncodeFormat() {
return video_encode_format_;
}
}
bool ConfigCenter::IsHardwareVideoCodec() { return hardware_video_codec_; }