mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-06 06:50:44 +09:00
Fix save directory empty if opening streaming page before recording page
This commit is contained in:
@@ -13,7 +13,10 @@
|
|||||||
|
|
||||||
namespace gsr {
|
namespace gsr {
|
||||||
Config::Config() {
|
Config::Config() {
|
||||||
|
const std::string default_save_directory = get_videos_dir();
|
||||||
streaming_config.record_options.video_quality = "custom";
|
streaming_config.record_options.video_quality = "custom";
|
||||||
|
record_config.save_directory = default_save_directory;
|
||||||
|
replay_config.save_directory = default_save_directory;
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::optional<KeyValue> parse_key_value(std::string_view line) {
|
static std::optional<KeyValue> parse_key_value(std::string_view line) {
|
||||||
|
|||||||
Reference in New Issue
Block a user