DeckLink disp.: set field flicker removal to false

This solves the problem with swapped fields in low latency mode.
This commit is contained in:
Martin Pulec
2016-05-10 11:18:34 +02:00
parent 371b1ee2ab
commit e0bfedbd14

View File

@@ -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);