Qt: Upgrade WebM codecs
Vicki Pfau vi@endrift.com
Tue, 18 Sep 2018 14:12:22 -0700
2 files changed,
14 insertions(+),
9 deletions(-)
M
src/platform/qt/VideoView.cpp
→
src/platform/qt/VideoView.cpp
@@ -170,8 +170,8 @@ });
addPreset(m_ui.presetWebM, { .container = "WebM", - .vcodec = "VP8", - .acodec = "Vorbis", + .vcodec = "VP9", + .acodec = "Opus", .vbr = 800, .abr = 128 });
M
src/platform/qt/VideoView.ui
→
src/platform/qt/VideoView.ui
@@ -106,7 +106,7 @@ <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <widget class="QRadioButton" name="presetHQ"> <property name="text"> - <string>High Quality</string> + <string>High &Quality</string> </property> <attribute name="buttonGroup"> <string notr="true">presets</string>@@ -116,7 +116,7 @@ </item>
<item> <widget class="QRadioButton" name="presetYoutube"> <property name="text"> - <string>YouTube</string> + <string>&YouTube</string> </property> <attribute name="buttonGroup"> <string notr="true">presets</string>@@ -136,7 +136,7 @@ </item>
<item> <widget class="QRadioButton" name="presetLossless"> <property name="text"> - <string>Lossless</string> + <string>&Lossless</string> </property> <property name="checked"> <bool>true</bool>@@ -153,7 +153,7 @@ <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <widget class="QRadioButton" name="preset1080"> <property name="text"> - <string>1080p</string> + <string>&1080p</string> </property> <attribute name="buttonGroup"> <string notr="true">resolutions</string>@@ -163,7 +163,7 @@ </item>
<item> <widget class="QRadioButton" name="preset720"> <property name="text"> - <string>720p</string> + <string>&720p</string> </property> <attribute name="buttonGroup"> <string notr="true">resolutions</string>@@ -173,7 +173,7 @@ </item>
<item> <widget class="QRadioButton" name="preset480"> <property name="text"> - <string>480p</string> + <string>&480p</string> </property> <attribute name="buttonGroup"> <string notr="true">resolutions</string>@@ -186,7 +186,7 @@ <property name="enabled">
<bool>false</bool> </property> <property name="text"> - <string>Native</string> + <string>&Native</string> </property> <property name="checked"> <bool>true</bool>@@ -272,6 +272,11 @@ </item>
<item> <property name="text"> <string>VP8</string> + </property> + </item> + <item> + <property name="text"> + <string>VP9</string> </property> </item> <item>