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