diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.py index c33856db4..854622cc6 100644 --- a/frigate/ffmpeg_presets.py +++ b/frigate/ffmpeg_presets.py @@ -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", )