all repos — mgba @ f69f473d92f484cdd2f431d76e7ac5356ef83637

mGBA Game Boy Advance Emulator

Qt: Missed a few
Vicki Pfau vi@endrift.com
Mon, 29 Jun 2020 15:02:39 -0700
commit

f69f473d92f484cdd2f431d76e7ac5356ef83637

parent

464863437499850ce59bac64262a612c1f94bafa

1 files changed, 11 insertions(+), 12 deletions(-)

jump to
M src/platform/qt/VideoView.cppsrc/platform/qt/VideoView.cpp

@@ -99,12 +99,11 @@

updatePresets(); setPreset({ - .container = "MKV", - .vcodec = "h.264", - .acodec = "FLAC", - .vbr = -1, - .abr = 0, - .dims = QSize(), + "MKV", + "h.264", + "FLAC", + -1, + 0, }); showAdvanced(false); }

@@ -413,12 +412,12 @@ }

void VideoView::uncheckIncompatible() { Preset current = { - .container = m_container, - .vcodec = m_videoCodec, - .acodec = m_audioCodec, - .vbr = m_vbr / 1000, - .abr = m_abr / 1000, - .dims = QSize(m_width, m_height) + m_container, + m_videoCodec, + m_audioCodec, + m_vbr / 1000, + m_abr / 1000, + { m_width, m_height } }; m_ui.presets->setExclusive(false);