Qt: Properly set default video recording settings
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Dec 2014 15:24:49 -0800
2 files changed,
10 insertions(+),
7 deletions(-)
M
CHANGES
→
CHANGES
@@ -17,6 +17,7 @@ - Debugger: Negative PC-relative loads now properly subtract the offset
- Qt: Fix window focus issues - GBA Audio: Support 16-bit writes to FIFO audio - 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
M
src/platform/qt/VideoView.cpp
→
src/platform/qt/VideoView.cpp
@@ -172,13 +172,15 @@ .width = 240,
.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); }