Disable alleged y-channel image motion detection. Doesn't work.

This commit is contained in:
Isaac Connor 2022-02-03 11:57:27 -05:00
parent 67ac0fdffd
commit 02a2c783e4
1 changed files with 1 additions and 1 deletions

View File

@ -2331,7 +2331,7 @@ bool Monitor::Analyse() {
if (function == MODECT or function == MOCORD) { if (function == MODECT or function == MOCORD) {
if (!ref_image.Buffer()) { if (!ref_image.Buffer()) {
if (0 snap->in_frame && ( if (0 and snap->in_frame && (
((AVPixelFormat)snap->in_frame->format == AV_PIX_FMT_YUV420P) ((AVPixelFormat)snap->in_frame->format == AV_PIX_FMT_YUV420P)
|| ||
((AVPixelFormat)snap->in_frame->format == AV_PIX_FMT_YUVJ420P) ((AVPixelFormat)snap->in_frame->format == AV_PIX_FMT_YUVJ420P)