core/dumping: Allow format/encoder selection+configuration

The ParamPackage got modified so that we can use range-based for on it
This commit is contained in:
zhupengfei 2020-01-29 14:54:39 +08:00
parent 3c6765e87c
commit 016f8be0b8
No known key found for this signature in database
GPG key ID: DD129E108BD09378
8 changed files with 86 additions and 32 deletions

View file

@ -409,7 +409,7 @@ int main(int argc, char** argv) {
if (!dump_video.empty()) {
Layout::FramebufferLayout layout{
Layout::FrameLayoutFromResolutionScale(VideoCore::GetResolutionScaleFactor())};
system.VideoDumper().StartDumping(dump_video, "webm", layout);
system.VideoDumper().StartDumping(dump_video, layout);
}
std::thread render_thread([&emu_window] { emu_window->Present(); });