Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5385

Camera board • Re: Red Hue When Using IR Filter with V3 NOIR

$
0
0
I inserted the code you suggested under line 103 'if (key == '\n')' but nothing happens.

It appears that '\n' is never returned from 'int key = get_key_or_signal(options, p);' on line 102.

After some troubleshooting I found that 'int key = get_key_or_signal(options, p);' always returns, 0 even when SIGUSR1 is sent with 'pkill -USR1 rpicam-vid'

Code:

                int key = get_key_or_signal(options, p);                LOG(1, "Key is " << key);                if (key == '\n')                         output->Signal();

Code:

Key is 0Key is 0Key is 0Key is 0Received signal 10Key is 0Key is 0
Any ideas as to why this is happening?

Statistics: Posted by jwainwright87 — Wed Jul 17, 2024 8:59 am



Viewing all articles
Browse latest Browse all 5385

Trending Articles