From 107eea1c9ff7628c79f96b0b1f49f9a9af7b989b Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Sat, 16 Dec 2017 21:32:05 +0100 Subject: [PATCH] Fixed FAAD progress parsing. --- src/Config.h | 2 +- src/Decoder_AAC.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Config.h b/src/Config.h index c9bc5bd9..2551513d 100644 --- a/src/Config.h +++ b/src/Config.h @@ -35,7 +35,7 @@ #define VER_LAMEXP_MINOR_LO 6 #define VER_LAMEXP_TYPE Beta #define VER_LAMEXP_PATCH 3 -#define VER_LAMEXP_BUILD 2080 +#define VER_LAMEXP_BUILD 2081 #define VER_LAMEXP_CONFG 2002 /////////////////////////////////////////////////////////////////////////////// diff --git a/src/Decoder_AAC.cpp b/src/Decoder_AAC.cpp index cf9fbbab..4604e6cf 100644 --- a/src/Decoder_AAC.cpp +++ b/src/Decoder_AAC.cpp @@ -61,7 +61,7 @@ bool AACDecoder::decode(const QString &sourceFile, const QString &outputFile, QA } int prevProgress = -1; - QRegExp regExp("\\[(\\d+)%\\]\\s+decoding\\s+"); + QRegExp regExp("\\b(\\d+)%\\s+decoding", Qt::CaseInsensitive); const result_t result = awaitProcess(process, abortFlag, [this, &prevProgress, ®Exp](const QString &text) { -- 2.11.4.GIT