Pause frame processing when window is not active

This commit is contained in:
Martijn Braam
2023-07-20 18:27:17 +02:00
parent 6e8293116b
commit e97ce527b0
3 changed files with 16 additions and 1 deletions

View File

@@ -31,3 +31,5 @@ void mp_main_capture_completed(GdkTexture *thumb, const char *fname);
void mp_main_set_zbar_result(MPZBarScanResult *result);
int remap(int value, int input_min, int input_max, int output_min, int output_max);
bool check_window_active();