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:
parent
3c6765e87c
commit
016f8be0b8
8 changed files with 86 additions and 32 deletions
|
@ -976,7 +976,7 @@ void GMainWindow::BootGame(const QString& filename) {
|
|||
Layout::FramebufferLayout layout{
|
||||
Layout::FrameLayoutFromResolutionScale(VideoCore::GetResolutionScaleFactor())};
|
||||
Core::System::GetInstance().VideoDumper().StartDumping(video_dumping_path.toStdString(),
|
||||
"webm", layout);
|
||||
layout);
|
||||
video_dumping_on_start = false;
|
||||
video_dumping_path.clear();
|
||||
}
|
||||
|
@ -1815,7 +1815,7 @@ void GMainWindow::OnStartVideoDumping() {
|
|||
if (emulation_running) {
|
||||
Layout::FramebufferLayout layout{
|
||||
Layout::FrameLayoutFromResolutionScale(VideoCore::GetResolutionScaleFactor())};
|
||||
Core::System::GetInstance().VideoDumper().StartDumping(path.toStdString(), "webm", layout);
|
||||
Core::System::GetInstance().VideoDumper().StartDumping(path.toStdString(), layout);
|
||||
} else {
|
||||
video_dumping_on_start = true;
|
||||
video_dumping_path = path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue