Skip to content

Commit 8f6672b

Browse files
authored
Merge pull request #270 from OpenShot/ferdnyc-patch-1
Correct parameter documentation for brightness
2 parents 72b04ce + 86e610b commit 8f6672b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/effects/Brightness.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ namespace openshot
7575
/// Default constructor, which takes 2 curves. The curves adjust the brightness and
7676
// contrast of a frame's image.
7777
///
78-
/// @param new_brightness The curve to adjust the brightness (between 100 and -100)
79-
/// @param new_contrast The curve to adjust the contrast (3 is typical, 20 is a lot, 0 is invalid)
78+
/// @param new_brightness The curve to adjust the brightness (from -1 to +1, 0 is default/"off")
79+
/// @param new_contrast The curve to adjust the contrast (3 is typical, 20 is a lot, 100 is max. 0 is invalid)
8080
Brightness(Keyframe new_brightness, Keyframe new_contrast);
8181

8282
/// @brief This method is required for all derived classes of EffectBase, and returns a

0 commit comments

Comments
 (0)