mirror of https://github.com/mgba-emu/mgba.git
Qt: Properly set default video recording settings
This commit is contained in:
parent
f2c08b7d75
commit
32f9621833
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue