optimize settings ui
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
1b5075168e
commit
845a524b82
6 changed files with 651 additions and 308 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue