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(); updatePresets();
setPreset({ setPreset({
.container = "MKV", "MKV",
.vcodec = "h.264", "h.264",
.acodec = "FLAC", "FLAC",
.vbr = -1, -1,
.abr = 0, 0,
.dims = QSize(),
}); });
showAdvanced(false); showAdvanced(false);
} }
@ -413,12 +412,12 @@ void VideoView::updateAspectRatio(int width, int height, bool force) {
void VideoView::uncheckIncompatible() { void VideoView::uncheckIncompatible() {
Preset current = { Preset current = {
.container = m_container, m_container,
.vcodec = m_videoCodec, m_videoCodec,
.acodec = m_audioCodec, m_audioCodec,
.vbr = m_vbr / 1000, m_vbr / 1000,
.abr = m_abr / 1000, m_abr / 1000,
.dims = QSize(m_width, m_height) { m_width, m_height }
}; };
m_ui.presets->setExclusive(false); m_ui.presets->setExclusive(false);