Fixed AAC progress indicator.
This commit is contained in:
parent
436c251c4e
commit
2158146fe1
@ -61,7 +61,7 @@ bool AACDecoder::decode(const QString &sourceFile, const QString &outputFile, QA
|
|||||||
}
|
}
|
||||||
|
|
||||||
int prevProgress = -1;
|
int prevProgress = -1;
|
||||||
QRegExp regExp("\\b(\\d+)%\\s+decoding", Qt::CaseInsensitive);
|
QRegExp regExp("\\[(\\d+)%\\]\\s*decoding", Qt::CaseInsensitive); //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