Revert "BugFix : Change peak value to normalize audio file with fallback gain"

This reverts commit 36e49fd6f8.

Breaks unit test, someone needs to investigate if it's the
patch's fault or if the test needs adjusting/updating.

https://bugzilla.gnome.org/show_bug.cgi?id=673970
This commit is contained in:
Tim-Philipp Müller 2018-05-15 10:35:09 +01:00
parent 457fdf95c4
commit d5d6e6cfdd

View file

@ -645,7 +645,7 @@ gst_rg_volume_determine_gain (GstRgVolume * self, gdouble * target_gain,
GST_DEBUG_OBJECT (self, "using fallback gain");
gain = self->fallback_gain;
peak = 0.000001;
peak = 1.0;
} else if ((self->album_mode && self->has_album_gain)
|| (!self->album_mode && !self->has_track_gain)) {