all repos — mgba @ bf87a1db48ef4bef657708966370a62e4b96759e

mGBA Game Boy Advance Emulator

Qt: Upgrade WebM codecs
Vicki Pfau vi@endrift.com
Tue, 18 Sep 2018 14:12:22 -0700
commit

bf87a1db48ef4bef657708966370a62e4b96759e

parent

1aa256a7ee731a75e3f5e8d7c5d94b7dbe519063

2 files changed, 14 insertions(+), 9 deletions(-)

jump to
M src/platform/qt/VideoView.cppsrc/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.uisrc/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 &amp;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>&amp;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>&amp;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>&amp;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>&amp;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>&amp;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>&amp;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>