Qt: Properly set default video recording settings

This commit is contained in:
Jeffrey Pfau 2014-12-21 15:24:49 -08:00
parent f2c08b7d75
commit 32f9621833
2 changed files with 10 additions and 7 deletions

View File

@ -10,6 +10,7 @@ Bugfixes:
- Debugger: Negative PC-relative loads now properly subtract the offset
- Qt: Fix window focus issues
- GBA Memory: Properly initialize 1 Mb flash, and add debug logging
- Qt: Properly set default video recording settings
Misc:
- Qt: Disable sync to video by default
- GBA: Exit cleanly on FATAL if the port supports it

View File

@ -172,13 +172,15 @@ VideoView::VideoView(QWidget* parent)
.height = 160,
});
setAudioCodec(m_ui.audio->currentText());
setVideoCodec(m_ui.video->currentText());
setAudioBitrate(m_ui.abr->value());
setVideoBitrate(m_ui.vbr->value());
setContainer(m_ui.container->currentText());
setWidth(m_ui.width->value());
setHeight(m_ui.height->value());
setPreset((Preset) {
.container = "MKV",
.vcodec = "PNG",
.acodec = "FLAC",
.vbr = 0,
.abr = 0,
.width = 240,
.height = 160,
});
showAdvanced(false);
}