Fix Cp,fog for gpu optimization (#20613)

Co-authored-by: Clement Rousseau <clement.rousseau@pmb-software.fr>
This commit is contained in:
CurseGroup France
2025-10-22 05:02:40 -06:00
committed by GitHub
co-authored by Clement Rousseau
parent 007371019a
commit 9638e85a1f
+1 -1
View File
@@ -246,7 +246,7 @@ def parse_preset_hardware_acceleration_scale(
",hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5" in scale
and os.environ.get("FFMPEG_DISABLE_GAMMA_EQUALIZER") is not None
):
scale.replace(
scale = scale.replace(
",hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5",
":format=nv12,hwdownload,format=nv12,format=yuv420p",
)