From 5109c4e414c0545ef4372bb44e4a5b41ff9abf09 Mon Sep 17 00:00:00 2001 From: Martin Piatka Date: Mon, 17 Apr 2023 09:32:52 +0200 Subject: [PATCH] display/decklink: Add 3D and profile options to capabs --- src/video_display/decklink.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video_display/decklink.cpp b/src/video_display/decklink.cpp index b1b495599..6d5fa39b4 100644 --- a/src/video_display/decklink.cpp +++ b/src/video_display/decklink.cpp @@ -926,6 +926,9 @@ static void display_decklink_probe(struct device_info **available_cards, int *co strncpy((*available_cards)[*count - 1].name, deviceName.c_str(), sizeof (*available_cards)[*count - 1].name - 1); + dev_add_option(&(*available_cards)[*count - 1], "3D", "3D", "3D", ":3D", true); + dev_add_option(&(*available_cards)[*count - 1], "Profile", "Duplex profile can be one of: 1dhd, 2dhd, 2dfd, 4dhd, keep", "profile", ":profile=", false); + // Release the IDeckLink instance when we've finished with it to prevent leaks deckLink->Release(); }