mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
GUI: prefs: don't include ISO 639-3-only languages for deriving track languages by default
Part of the fix of #3047.
This commit is contained in:
parent
e66860cafe
commit
446c93b790
@ -475,7 +475,8 @@ Settings::setDefaults(std::optional<QVariant> enableMuxingTracksByTheseTypes) {
|
||||
|
||||
if (m_recognizedTrackLanguagesInFileNames.isEmpty())
|
||||
for (auto const &language : mtx::iso639::g_languages)
|
||||
m_recognizedTrackLanguagesInFileNames << Q(language.alpha_3_code);
|
||||
if (!language.alpha_2_code.empty())
|
||||
m_recognizedTrackLanguagesInFileNames << Q(language.alpha_3_code);
|
||||
|
||||
if (m_regexForDerivingTrackLanguagesFromFileNames.isEmpty())
|
||||
m_regexForDerivingTrackLanguagesFromFileNames = mtx::gui::Merge::SourceFile::defaultRegexForDerivingLanguageFromFileName();
|
||||
|
Loading…
Reference in New Issue
Block a user