DeckLink disp.: set LowLatency opt in a usual way

Do not link bmdDeckLinkConfigLowLatencyVideoOutput with `-d decklink:low_latency`
option because these features are not necessarily related - the BMD
feature (according to the docs) is even not honored by recent devices
and doesn't have an impact on our "low_latency" (scheduled/not
scheduled) mode of operating.
This commit is contained in:
Martin Pulec
2023-05-04 08:37:37 +02:00
parent 5e4541c7e3
commit 15483cd577

View File

@@ -352,6 +352,7 @@ struct state_decklink {
{ bmdDeckLinkConfigVideoOutputIdleOperation, bmd_option{(int64_t) bmdIdleVideoOutputLastFrame, false} },
{ bmdDeckLinkConfigOutput1080pAsPsF, bmd_option{false, false}},
{ bmdDeckLinkConfigFieldFlickerRemoval, bmd_option{false, false}}, ///< required for interlaced video in low-latency
{ bmdDeckLinkConfigLowLatencyVideoOutput, bmd_option{true, false}}
};
HDRMetadata requested_hdr_mode{};
@@ -1244,10 +1245,6 @@ static void *display_decklink_init(struct module *parent, const char *fmt, unsig
}
}
if (!bmd_option(s->low_latency).option_write(deckLinkConfiguration, bmdDeckLinkConfigLowLatencyVideoOutput)) {
goto error;
}
if (s->sdi_dual_channel_level != BMD_OPT_DEFAULT) {
if (deckLinkAttributes) {
BMD_BOOL supports_level_a;