all repos — mgba @ 4420309dc58237a044879278750bafd54dc18462

mGBA Game Boy Advance Emulator

Qt: Properly set default video recording settings
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Dec 2014 15:24:49 -0800
commit

4420309dc58237a044879278750bafd54dc18462

parent

830511472a3d3e9854b94216fc4e74e35d8d3081

2 files changed, 10 insertions(+), 7 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.cppsrc/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); }