mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 21:44:13 +03:00
Fix Cp,fog for gpu optimization (#20613)
Some checks are pending
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
Some checks are pending
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
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…
Reference in New Issue
Block a user