Qt: Add Opus to the audio codec mapping and list

This commit is contained in:
Jeffrey Pfau 2014-11-28 14:41:33 -08:00
parent eb2809829d
commit 091e717133
2 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,7 @@ VideoView::VideoView(QWidget* parent)
if (s_acodecMap.empty()) { if (s_acodecMap.empty()) {
s_acodecMap["mp3"] = "libmp3lame"; s_acodecMap["mp3"] = "libmp3lame";
s_acodecMap["opus"] = "libopus";
s_acodecMap["uncompressed"] = "pcm_s16le"; s_acodecMap["uncompressed"] = "pcm_s16le";
} }
if (s_vcodecMap.empty()) { if (s_vcodecMap.empty()) {

View File

@ -288,6 +288,11 @@
<string>FLAC</string> <string>FLAC</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>Opus</string>
</property>
</item>
<item> <item>
<property name="text"> <property name="text">
<string>Vorbis</string> <string>Vorbis</string>