Fixed FAAD progress parsing.
This commit is contained in:
parent
818dd1e91b
commit
107eea1c9f
@ -35,7 +35,7 @@
|
|||||||
#define VER_LAMEXP_MINOR_LO 6
|
#define VER_LAMEXP_MINOR_LO 6
|
||||||
#define VER_LAMEXP_TYPE Beta
|
#define VER_LAMEXP_TYPE Beta
|
||||||
#define VER_LAMEXP_PATCH 3
|
#define VER_LAMEXP_PATCH 3
|
||||||
#define VER_LAMEXP_BUILD 2080
|
#define VER_LAMEXP_BUILD 2081
|
||||||
#define VER_LAMEXP_CONFG 2002
|
#define VER_LAMEXP_CONFG 2002
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -61,7 +61,7 @@ bool AACDecoder::decode(const QString &sourceFile, const QString &outputFile, QA
|
|||||||
}
|
}
|
||||||
|
|
||||||
int prevProgress = -1;
|
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)
|
const result_t result = awaitProcess(process, abortFlag, [this, &prevProgress, ®Exp](const QString &text)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user