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
8 changed files with 86 additions and 32 deletions

View File

@@ -204,6 +204,18 @@ struct Values {
std::string web_api_url;
std::string citra_username;
std::string citra_token;
// Video Dumping
std::string output_format;
std::string format_options;
std::string video_encoder;
std::string video_encoder_options;
u64 video_bitrate;
std::string audio_encoder;
std::string audio_encoder_options;
u64 audio_bitrate;
} extern values;
// a special value for Values::region_value indicating that citra will automatically select a region