mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Dont turn on led when using replay/streaming and then recording if not enabled
This commit is contained in:
@@ -2936,12 +2936,14 @@ namespace gsr {
|
||||
update_upause_status();
|
||||
|
||||
if(led_indicator) {
|
||||
if(config.record_config.record_options.use_led_indicator) {
|
||||
if(!current_recording_config.replay_config.record_options.use_led_indicator)
|
||||
led_indicator->set_led(true);
|
||||
else if(config.record_config.record_options.use_led_indicator)
|
||||
else
|
||||
led_indicator->blink();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
replay_recording = true;
|
||||
kill(gpu_screen_recorder_process, SIGRTMIN);
|
||||
@@ -2966,12 +2968,14 @@ namespace gsr {
|
||||
update_upause_status();
|
||||
|
||||
if(led_indicator) {
|
||||
if(config.record_config.record_options.use_led_indicator) {
|
||||
if(!current_recording_config.streaming_config.record_options.use_led_indicator)
|
||||
led_indicator->set_led(true);
|
||||
else if(config.record_config.record_options.use_led_indicator)
|
||||
else
|
||||
led_indicator->blink();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
replay_recording = true;
|
||||
kill(gpu_screen_recorder_process, SIGRTMIN);
|
||||
|
||||
Reference in New Issue
Block a user