switch enable abr

This commit is contained in:
csf
2022-06-30 18:24:36 +08:00
parent 09937049a6
commit a5ab0db5b9
2 changed files with 12 additions and 1 deletions

View File

@@ -343,6 +343,7 @@ impl Decoder {
}
}
#[cfg(feature = "hwcodec")]
fn check_hwcodec_config() -> bool {
if let Some(v) = Config2::get().options.get("enable-hwcodec") {
return v != "N";