optimize settings ui

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2022-08-17 13:04:37 +08:00
1 parent 1b5075168e
commit 845a524b82
6 files changed
+651 -308

No files matched your search

+7
View File
@@ -669,6 +669,13 @@ pub fn get_api_server() -> String {
)
}
pub fn has_hwcodec() -> bool {
#[cfg(not(feature = "hwcodec"))]
return false;
#[cfg(feature = "hwcodec")]
return true;
}
pub fn check_zombie(childs: Childs) {
let mut deads = Vec::new();
loop {