From 0b8e1f89d79576cff19026f23903205d824c353b Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 1 May 2018 14:00:26 +0200 Subject: [PATCH] Don't fail playback without replay gain --- src/engine/gstenginepipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gstenginepipeline.cpp b/src/engine/gstenginepipeline.cpp index 118589f2b..229cff93e 100644 --- a/src/engine/gstenginepipeline.cpp +++ b/src/engine/gstenginepipeline.cpp @@ -249,7 +249,7 @@ bool GstEnginePipeline::InitAudioBin() { if (rg_enabled_) { rgvolume_ = engine_->CreateElement("rgvolume", audiobin_, false, true); rglimiter_ = engine_->CreateElement("rglimiter", audiobin_, false, true); - audioconvert2_ = engine_->CreateElement("audioconvert", audiobin_); + audioconvert2_ = engine_->CreateElement("audioconvert", audiobin_, false, true); if (rgvolume_ && rglimiter_ && audioconvert2_) { event_probe = audioconvert2_; convert_sink = rgvolume_;