summaryrefslogtreecommitdiffstats
path: root/gst/replaygain
diff options
context:
space:
mode:
Diffstat (limited to 'gst/replaygain')
-rw-r--r--gst/replaygain/gstrgvolume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/replaygain/gstrgvolume.c b/gst/replaygain/gstrgvolume.c
index 41fe441d..d569b4bb 100644
--- a/gst/replaygain/gstrgvolume.c
+++ b/gst/replaygain/gstrgvolume.c
@@ -92,7 +92,7 @@ enum
#define PEAK_FORMAT ".06f"
#define VALID_GAIN(x) ((x) > -60.00 && (x) < 60.00)
-#define VALID_PEAK(x) ((x) > 0.)
+#define VALID_PEAK(x) ((x) > 0. && (x) < 1.)
/* Same template caps as GstVolume, for I don't like having just ANY caps. */