mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-10 08:51:00 -06:00
Fix Cp,fog for gpu optimization (#20613)
Co-authored-by: Clement Rousseau <clement.rousseau@pmb-software.fr>
This commit is contained in:
parent
007371019a
commit
9638e85a1f
@ -246,7 +246,7 @@ def parse_preset_hardware_acceleration_scale(
|
|||||||
",hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5" in 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
|
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",
|
",hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5",
|
||||||
":format=nv12,hwdownload,format=nv12,format=yuv420p",
|
":format=nv12,hwdownload,format=nv12,format=yuv420p",
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user