X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fdecklink_capture.cpp;h=722221ea21f3f68a2e1179c958a093188e94cd18;hb=f34a3e1bbc207541842e0b54d5418d95bafc8e5b;hp=6ccbadc339791ca12816dcc57920855f049ad404;hpb=d92973cb0206e84529011bc8edd644e1a25374bd;p=nageru diff --git a/nageru/decklink_capture.cpp b/nageru/decklink_capture.cpp index 6ccbadc..722221e 100644 --- a/nageru/decklink_capture.cpp +++ b/nageru/decklink_capture.cpp @@ -246,7 +246,7 @@ HRESULT STDMETHODCALLTYPE DeckLinkCapture::VideoInputFrameArrived( const int stride = video_frame->GetRowBytes(); const BMDPixelFormat format = video_frame->GetPixelFormat(); assert(format == pixel_format_to_bmd(current_pixel_format)); - if (global_flags.ten_bit_input) { + if (global_flags.bit_depth > 8) { assert(stride == int(v210Converter::get_v210_stride(width))); } else { assert(stride == width * 2);