all repos — mgba @ 6e88fc1acc2ef5933651fef911bb22491626605a

mGBA Game Boy Advance Emulator

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

6e88fc1acc2ef5933651fef911bb22491626605a

parent

8137a432339f6f734c4a6674d8b2c4c41fde5ff7

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);