From fecedc8051b1d87bff30279a425a663dcdc8ac97 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 17 Apr 2022 17:12:45 +0200 Subject: [PATCH] Fix (?) the mode scanning. --- nageru/mixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nageru/mixer.cpp b/nageru/mixer.cpp index 5de75c6..6a2909f 100644 --- a/nageru/mixer.cpp +++ b/nageru/mixer.cpp @@ -2027,7 +2027,7 @@ void Mixer::set_input_ycbcr_interpretation(unsigned card_index, const YCbCrInter void Mixer::start_mode_scanning(unsigned card_index) { assert(card_index < MAX_VIDEO_CARDS); - if (cards[card_index].capture != nullptr) { + if (cards[card_index].capture == nullptr) { // Inactive card. Should never happen. return; } -- 2.39.2