DeckLink cap/disp: added full-duplex parameter

It actually sets `profile=1dfd`. This is a complement to already
existing `half-duplex` option (that has on the other hand more more
complex semantic - it chooses the profile tailored for the device, since
the right one differs for eg. 8K Pro /4dhd/ and Duo/Quad 2 /2dhd/).
This commit is contained in:
Martin Pulec
2023-04-17 12:34:13 +02:00
parent bc30735929
commit cf825ecea2
3 changed files with 10 additions and 7 deletions

View File

@@ -372,7 +372,6 @@ class ProfileCallback : public IDeckLinkProfileCallback
bool decklink_set_profile(IDeckLink *deckLink, uint32_t profileID, bool stereo) {
if (profileID == BMD_OPT_DEFAULT && !stereo) {
return true;
profileID = bmdProfileOneSubDeviceFullDuplex;
}
bool ret = true;