Output warning message to the log when a process has to be killed due to a timeout.
This commit is contained in:
parent
14a129f058
commit
aa02ad742c
@ -25,8 +25,8 @@
|
|||||||
#define VER_LAMEXP_MAJOR 4
|
#define VER_LAMEXP_MAJOR 4
|
||||||
#define VER_LAMEXP_MINOR_HI 0
|
#define VER_LAMEXP_MINOR_HI 0
|
||||||
#define VER_LAMEXP_MINOR_LO 1
|
#define VER_LAMEXP_MINOR_LO 1
|
||||||
#define VER_LAMEXP_BUILD 342
|
#define VER_LAMEXP_BUILD 344
|
||||||
#define VER_LAMEXP_SUFFIX Beta-3
|
#define VER_LAMEXP_SUFFIX Beta-4
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tools versions
|
* Tools versions
|
||||||
|
@ -73,6 +73,7 @@ bool AACDecoder::decode(const QString &sourceFile, const QString &outputFile, vo
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("FAAD process timed out <-- killing!");
|
qWarning("FAAD process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -73,6 +73,7 @@ bool AC3Decoder::decode(const QString &sourceFile, const QString &outputFile, vo
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("Valdec process timed out <-- killing!");
|
qWarning("Valdec process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -77,6 +77,7 @@ bool ADPCMDecoder::decode(const QString &sourceFile, const QString &outputFile,
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("Sox process timed out <-- killing!");
|
qWarning("Sox process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -75,6 +75,7 @@ bool ALACDecoder::decode(const QString &sourceFile, const QString &outputFile, v
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("TTAEnc process timed out <-- killing!");
|
qWarning("TTAEnc process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -74,6 +74,7 @@ bool FLACDecoder::decode(const QString &sourceFile, const QString &outputFile, v
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("FLAC process timed out <-- killing!");
|
qWarning("FLAC process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -74,6 +74,7 @@ bool MACDecoder::decode(const QString &sourceFile, const QString &outputFile, vo
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("MAC process timed out <-- killing!");
|
qWarning("MAC process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -73,6 +73,7 @@ bool MP3Decoder::decode(const QString &sourceFile, const QString &outputFile, vo
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("mpg123 process timed out <-- killing!");
|
qWarning("mpg123 process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -75,6 +75,7 @@ bool MusepackDecoder::decode(const QString &sourceFile, const QString &outputFil
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("MpcDec process timed out <-- killing!");
|
qWarning("MpcDec process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -76,6 +76,7 @@ bool ShortenDecoder::decode(const QString &sourceFile, const QString &outputFile
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("Shorten process timed out <-- killing!");
|
qWarning("Shorten process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -74,6 +74,7 @@ bool SpeexDecoder::decode(const QString &sourceFile, const QString &outputFile,
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("SpeexDec process timed out <-- killing!");
|
qWarning("SpeexDec process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -76,6 +76,7 @@ bool TTADecoder::decode(const QString &sourceFile, const QString &outputFile, vo
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("TTAEnc process timed out <-- killing!");
|
qWarning("TTAEnc process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -73,6 +73,7 @@ bool VorbisDecoder::decode(const QString &sourceFile, const QString &outputFile,
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("OggDec process timed out <-- killing!");
|
qWarning("OggDec process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -84,6 +84,7 @@ bool WMADecoder::decode(const QString &sourceFile, const QString &outputFile, vo
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("WmaWav process timed out <-- killing!");
|
qWarning("WmaWav process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -74,6 +74,7 @@ bool WavPackDecoder::decode(const QString &sourceFile, const QString &outputFile
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("WvUnpack process timed out <-- killing!");
|
qWarning("WvUnpack process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -119,6 +119,7 @@ bool AACEncoder::encode(const QString &sourceFile, const AudioFileModel &metaInf
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("NeroAacEnc process timed out <-- killing!");
|
qWarning("NeroAacEnc process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -209,6 +210,7 @@ bool AACEncoder::encode(const QString &sourceFile, const AudioFileModel &metaInf
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("NeroAacTag process timed out <-- killing!");
|
qWarning("NeroAacTag process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -90,6 +90,7 @@ bool FLACEncoder::encode(const QString &sourceFile, const AudioFileModel &metaIn
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("FLAC process timed out <-- killing!");
|
qWarning("FLAC process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -147,6 +147,7 @@ bool MP3Encoder::encode(const QString &sourceFile, const AudioFileModel &metaInf
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("LAME process timed out <-- killing!");
|
qWarning("LAME process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -121,6 +121,7 @@ bool VorbisEncoder::encode(const QString &sourceFile, const AudioFileModel &meta
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("OggEnc process timed out <-- killing!");
|
qWarning("OggEnc process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -76,6 +76,7 @@ bool DownmixFilter::apply(const QString &sourceFile, const QString &outputFile,
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("SoX process timed out <-- killing!");
|
qWarning("SoX process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -79,6 +79,7 @@ bool NormalizeFilter::apply(const QString &sourceFile, const QString &outputFile
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("SoX process timed out <-- killing!");
|
qWarning("SoX process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -79,6 +79,7 @@ bool ResampleFilter::apply(const QString &sourceFile, const QString &outputFile,
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("SoX process timed out <-- killing!");
|
qWarning("SoX process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -88,6 +88,7 @@ bool ToneAdjustFilter::apply(const QString &sourceFile, const QString &outputFil
|
|||||||
{
|
{
|
||||||
process.kill();
|
process.kill();
|
||||||
qWarning("SoX process timed out <-- killing!");
|
qWarning("SoX process timed out <-- killing!");
|
||||||
|
emit messageLogged("\nPROCESS TIMEOUT !!!");
|
||||||
bTimeout = true;
|
bTimeout = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user