update hwcodec, qsv support changing bitrate (#7911)

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2024-05-06 10:59:25 +08:00
committed by GitHub
parent 29b13d19d6
commit 991694aca5
3 changed files with 7 additions and 5 deletions

View File

@@ -183,7 +183,7 @@ impl EncoderApi for HwRamEncoder {
}
fn support_abr(&self) -> bool {
!self.name.contains("qsv")
["qsv", "vaapi"].iter().all(|&x| !self.name.contains(x))
}
}