GUI: use Opus-in-WebM variants of the default GUI job sounds

My previous statement that WAV was the only widely supported format
seems to have been wrong, somewhat. WebM seems to be fine, too.
This commit is contained in:
Moritz Bunkus 2022-04-09 12:34:02 +02:00
parent 1b39e41e8d
commit 7e0f170c1a
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
8 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ usr/share/icons/hicolor/*/apps/mkvtoolnix-gui.png
usr/share/man/*/man1/mkvtoolnix-gui.1
usr/share/man/man1/mkvtoolnix-gui.1
usr/share/metainfo/*.xml
usr/share/mkvtoolnix/sounds/*.ogg
usr/share/mkvtoolnix/sounds/*.webm

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -279,7 +279,7 @@ convert67_0_0DefaultAudioFileNames(version_number_t const &writtenByVersion) {
auto audioFile = reg->value(s_valAudioFile).toString();
if (audioFile.contains(oggRe))
reg->setValue(s_valAudioFile, audioFile.left(audioFile.length() - 3) + Q("wav"));
reg->setValue(s_valAudioFile, audioFile.left(audioFile.length() - 3) + Q("webm"));
reg->endGroup();
}