X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=mixer.cpp;h=261c8eec810ce27cf7d67fb2cf89d4b1f5c29923;hp=857d62bf4fc2ab5367ba2bf1f3332fa2728fc616;hb=1d1a1394ea5eb319ede1a07297dec05333562e1f;hpb=7c8d29249d9024bcd79224ec0d85789ee9c1c74c 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;