From e0bfedbd149ba5eba1aeee56b5d6721eb651f113 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 10 May 2016 11:18:34 +0200 Subject: [PATCH] DeckLink disp.: set field flicker removal to false This solves the problem with swapped fields in low latency mode. --- src/video_display/decklink.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/video_display/decklink.cpp b/src/video_display/decklink.cpp index bcf8c90f4..47745fb14 100644 --- a/src/video_display/decklink.cpp +++ b/src/video_display/decklink.cpp @@ -970,6 +970,14 @@ static void *display_decklink_init(struct module *parent, const char *fmt, unsig goto error; } + if (s->low_latency) { + result = deckLinkConfiguration->SetFlag(bmdDeckLinkConfigFieldFlickerRemoval, false); + if (result != S_OK) { + log_msg(LOG_LEVEL_ERROR, MOD_NAME "Unable to set field flicker removal.\n"); + goto error; + } + } + if(HDMI3DPacking != 0) { HRESULT res = deckLinkConfiguration->SetInt(bmdDeckLinkConfigHDMI3DPackingFormat, HDMI3DPacking);