From 1d1a1394ea5eb319ede1a07297dec05333562e1f Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 23 May 2017 21:53:31 +0200 Subject: [PATCH] Fix a crash with interlaced DeckLink inputs. --- mixer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mixer.cpp b/mixer.cpp index 857d62b..261c8ee 100644 --- a/mixer.cpp +++ b/mixer.cpp @@ -643,6 +643,7 @@ void Mixer::bm_frame(unsigned card_index, uint16_t timecode, // a deinterlacer to actually get this right. assert(video_format.height % 2 == 0); video_format.height /= 2; + cbcr_height /= 2; assert(frame_length % 2 == 0); frame_length /= 2; num_fields = 2; -- 2.39.2