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
|
- Debugger: Negative PC-relative loads now properly subtract the offset
|
||||||
- Qt: Fix window focus issues
|
- Qt: Fix window focus issues
|
||||||
- GBA Memory: Properly initialize 1 Mb flash, and add debug logging
|
- GBA Memory: Properly initialize 1 Mb flash, and add debug logging
|
||||||
|
- Qt: Properly set default video recording settings
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Disable sync to video by default
|
- Qt: Disable sync to video by default
|
||||||
- GBA: Exit cleanly on FATAL if the port supports it
|
- GBA: Exit cleanly on FATAL if the port supports it
|
||||||
|
|
|
@ -172,13 +172,15 @@ VideoView::VideoView(QWidget* parent)
|
||||||
.height = 160,
|
.height = 160,
|
||||||
});
|
});
|
||||||
|
|
||||||
setAudioCodec(m_ui.audio->currentText());
|
setPreset((Preset) {
|
||||||
setVideoCodec(m_ui.video->currentText());
|
.container = "MKV",
|
||||||
setAudioBitrate(m_ui.abr->value());
|
.vcodec = "PNG",
|
||||||
setVideoBitrate(m_ui.vbr->value());
|
.acodec = "FLAC",
|
||||||
setContainer(m_ui.container->currentText());
|
.vbr = 0,
|
||||||
setWidth(m_ui.width->value());
|
.abr = 0,
|
||||||
setHeight(m_ui.height->value());
|
.width = 240,
|
||||||
|
.height = 160,
|
||||||
|
});
|
||||||
|
|
||||||
showAdvanced(false);
|
showAdvanced(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue