projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
457fdf9
)
Revert "BugFix : Change peak value to normalize audio file with fallback gain"
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 15 May 2018 09:35:09 +0000
(10:35 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 15 May 2018 09:35:09 +0000
(10:35 +0100)
This reverts commit
36e49fd6f872f0b3f33083107a55fb7f671a47d0
.
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
gst/replaygain/gstrgvolume.c
patch
|
blob
|
history
diff --git
a/gst/replaygain/gstrgvolume.c
b/gst/replaygain/gstrgvolume.c
index
1326784
..
7c4f281
100644
(file)
--- a/
gst/replaygain/gstrgvolume.c
+++ b/
gst/replaygain/gstrgvolume.c
@@
-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)) {