fix ffmpeg videotoolbox wrong log (#10413)

* Fix ffmpeg videotoolbox wrong log when changing bitrate
* Let qsv support abr, and it's safe for qsv to changing bitrate.

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2025-01-02 22:19:30 +08:00
committed by GitHub
parent 7c2d62237f
commit 40999c3211
2 changed files with 2 additions and 2 deletions

View File

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