Qt: Missed a few

This commit is contained in:
Vicki Pfau 2020-06-29 15:02:39 -07:00
parent 8137a43233
commit 6e88fc1acc
1 changed files with 11 additions and 12 deletions

View File

@ -99,12 +99,11 @@ VideoView::VideoView(QWidget* parent)
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::updateAspectRatio(int width, int height, bool force) {
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);