Added warnings when LAME algorithm quality is set to "extreme" values.
This commit is contained in:
parent
b84f66f741
commit
2da39922ca
File diff suppressed because it is too large
Load Diff
@ -1642,6 +1642,14 @@
|
|||||||
<source>MPEG-4 AAC:</source>
|
<source>MPEG-4 AAC:</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality!</source>
|
||||||
|
<translation>Achtung: Die Klangqualität wird sehr schlecht sein. Bitte <b>nicht</b> über die Klangqualität beschweren!</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed!</source>
|
||||||
|
<translation>Achtung: Die Geschwindigkeit wird sehr gering sein. Bitte <b>nicht</b> über die Geschwindigkeit beschweren!</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MetaInfo</name>
|
<name>MetaInfo</name>
|
||||||
|
@ -1641,6 +1641,14 @@
|
|||||||
<source>MPEG-4 AAC:</source>
|
<source>MPEG-4 AAC:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MetaInfo</name>
|
<name>MetaInfo</name>
|
||||||
|
@ -1651,6 +1651,14 @@ Ouvrir le dossier récursivement...</translation>
|
|||||||
<source>MPEG-4 AAC:</source>
|
<source>MPEG-4 AAC:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MetaInfo</name>
|
<name>MetaInfo</name>
|
||||||
|
@ -1642,6 +1642,14 @@
|
|||||||
<source>MPEG-4 AAC:</source>
|
<source>MPEG-4 AAC:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MetaInfo</name>
|
<name>MetaInfo</name>
|
||||||
|
@ -1641,6 +1641,14 @@
|
|||||||
<source>MPEG-4 AAC:</source>
|
<source>MPEG-4 AAC:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MetaInfo</name>
|
<name>MetaInfo</name>
|
||||||
|
@ -1647,6 +1647,14 @@
|
|||||||
<source>MPEG-4 AAC:</source>
|
<source>MPEG-4 AAC:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MetaInfo</name>
|
<name>MetaInfo</name>
|
||||||
|
@ -1642,6 +1642,14 @@
|
|||||||
<source>MPEG-4 AAC:</source>
|
<source>MPEG-4 AAC:</source>
|
||||||
<translation>MPEG-4 AAC:</translation>
|
<translation>MPEG-4 AAC:</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed!</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>MetaInfo</name>
|
<name>MetaInfo</name>
|
||||||
|
@ -1100,7 +1100,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>604</width>
|
<width>604</width>
|
||||||
<height>1426</height>
|
<height>1486</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_22">
|
<layout class="QGridLayout" name="gridLayout_22">
|
||||||
@ -1368,6 +1368,82 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="4" column="1" colspan="3">
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labelLameAlgoQualityWarningIcon">
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="pixmap">
|
||||||
|
<pixmap resource="../res/Icons.qrc">:/icons/exclamation.png</pixmap>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labelLameAlgoQualityWarning">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Warning: Audio quality will be very poor. Please do <b>not</b> complain about audio quality!</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item row="5" column="1" colspan="3">
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labelLameAlgoQualityNoticeIcon">
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="pixmap">
|
||||||
|
<pixmap resource="../res/Icons.qrc">:/icons/error.png</pixmap>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labelLameAlgoQualityNotice">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Warning: Processing speed will we very slow. Please do <b>not</b> complain about processing speed!</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="1" colspan="3">
|
||||||
|
<widget class="QFrame" name="labelLameAlgoQualitySpacer">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>6</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16777215</width>
|
||||||
|
<height>6</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::HLine</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
Binary file not shown.
@ -30,7 +30,7 @@
|
|||||||
#define VER_LAMEXP_MINOR_LO 3
|
#define VER_LAMEXP_MINOR_LO 3
|
||||||
#define VER_LAMEXP_TYPE Alpha
|
#define VER_LAMEXP_TYPE Alpha
|
||||||
#define VER_LAMEXP_PATCH 15
|
#define VER_LAMEXP_PATCH 15
|
||||||
#define VER_LAMEXP_BUILD 664
|
#define VER_LAMEXP_BUILD 666
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Tools versions
|
// Tools versions
|
||||||
|
@ -2590,6 +2590,13 @@ void MainWindow::updateLameAlgoQuality(int value)
|
|||||||
m_settings->lameAlgoQuality(value);
|
m_settings->lameAlgoQuality(value);
|
||||||
labelLameAlgoQuality->setText(text);
|
labelLameAlgoQuality->setText(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool warning = (value == 0), notice = (value == 4);
|
||||||
|
labelLameAlgoQualityWarning->setVisible(warning);
|
||||||
|
labelLameAlgoQualityWarningIcon->setVisible(warning);
|
||||||
|
labelLameAlgoQualityNotice->setVisible(notice);
|
||||||
|
labelLameAlgoQualityNoticeIcon->setVisible(notice);
|
||||||
|
labelLameAlgoQualitySpacer->setVisible(warning || notice);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -327,7 +327,7 @@ LONG WINAPI lamexp_exception_handler(__in struct _EXCEPTION_POINTERS *ExceptionI
|
|||||||
if(mainThread) TerminateThread(mainThread, ULONG_MAX);
|
if(mainThread) TerminateThread(mainThread, ULONG_MAX);
|
||||||
}
|
}
|
||||||
|
|
||||||
FatalAppExit(0, L"Unhandeled exception error, application will exit!");
|
FatalAppExit(0, L"Unhandeled exception handler invoked, application will exit!");
|
||||||
TerminateProcess(GetCurrentProcess(), -1);
|
TerminateProcess(GetCurrentProcess(), -1);
|
||||||
return LONG_MAX;
|
return LONG_MAX;
|
||||||
}
|
}
|
||||||
|
14
src/Main.cpp
14
src/Main.cpp
@ -205,16 +205,16 @@ static int _main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
fprintf(stderr, "\nGURU MEDITATION: %s\n", error);
|
fprintf(stderr, "\nGURU MEDITATION !!!\n\nException error message: %s\n", error);
|
||||||
FatalAppExit(0, L"Unhandeled exception error, application will exit!");
|
FatalAppExit(0, L"Unhandeled C++ exception error, application will exit!");
|
||||||
TerminateProcess(GetCurrentProcess(), -1);
|
TerminateProcess(GetCurrentProcess(), -1);
|
||||||
}
|
}
|
||||||
catch(int error)
|
catch(int error)
|
||||||
{
|
{
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
fprintf(stderr, "\nGURU MEDITATION: Error code 0x%X\n", error);
|
fprintf(stderr, "\nGURU MEDITATION !!!\n\nException error code: 0x%X\n", error);
|
||||||
FatalAppExit(0, L"Unhandeled exception error, application will exit!");
|
FatalAppExit(0, L"Unhandeled C++ exception error, application will exit!");
|
||||||
TerminateProcess(GetCurrentProcess(), -1);
|
TerminateProcess(GetCurrentProcess(), -1);
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
@ -222,7 +222,7 @@ static int _main(int argc, char* argv[])
|
|||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
fprintf(stderr, "\nGURU MEDITATION !!!\n");
|
fprintf(stderr, "\nGURU MEDITATION !!!\n");
|
||||||
FatalAppExit(0, L"Unhandeled exception error, application will exit!");
|
FatalAppExit(0, L"Unhandeled C++ exception error, application will exit!");
|
||||||
TerminateProcess(GetCurrentProcess(), -1);
|
TerminateProcess(GetCurrentProcess(), -1);
|
||||||
}
|
}
|
||||||
return iResult;
|
return iResult;
|
||||||
@ -247,8 +247,8 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
fprintf(stderr, "\nGURU MEDITATION !!!\n");
|
fprintf(stderr, "\nGURU MEDITATION !!!\n\nUnhandeled structured exception error! [code: 0x%X]\n", GetExceptionCode());
|
||||||
FatalAppExit(0, L"Unhandeled exception error, application will exit!");
|
FatalAppExit(0, L"Unhandeled structured exception error, application will exit!");
|
||||||
TerminateProcess(GetCurrentProcess(), -1);
|
TerminateProcess(GetCurrentProcess(), -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user