[vlc-commits] [Git][videolan/vlc][master] vaapi_filter: fix wrong upper bound for --denoise-sigma range

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Thu Jan 6 07:08:42 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
105d81cc by Lyndon Brown at 2022-01-06T06:53:50+00:00
vaapi_filter: fix wrong upper bound for --denoise-sigma range

and remove the range from the labels, which is unnecessary.

- - - - -


1 changed file:

- modules/hw/vaapi/filters.c


Changes:

=====================================
modules/hw/vaapi/filters.c
=====================================
@@ -1140,10 +1140,9 @@ vlc_module_begin()
 
     add_submodule()
     set_callback_video_filter(OpenDenoiseFilter)
-    add_float_with_range("denoise-sigma", 1.f, .0f, .0f,
-                         "Denoise strength (0-2)",
-                         "Set the Denoise strength, between 0 and 2. "
-                            "Defaults to 1.")
+    add_float_with_range("denoise-sigma", 1.f, .0f, 2.f,
+                         "Denoise strength",
+                         "Set the Denoise strength. (Defaults to 1).")
     add_shortcut("denoise")
 
     add_submodule()



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/105d81cc337314c6205c47e6171924c868649d27

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/105d81cc337314c6205c47e6171924c868649d27
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list