From 498fd765eeba3e2cc15e9b672b3e248abbd5dd1c Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 5 Jun 2024 17:01:47 +0200 Subject: [PATCH] vcap/decklink: profile setting fix Fixed the wrong condition since the commit 215ee42481 (2023-05-04) - profile was actually not set. --- src/video_capture/decklink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_capture/decklink.cpp b/src/video_capture/decklink.cpp index 430a8b39b..e62143472 100644 --- a/src/video_capture/decklink.cpp +++ b/src/video_capture/decklink.cpp @@ -1128,7 +1128,7 @@ bool device_state::init(struct vidcap_decklink_state *s, struct tile *t, BMDAudi LOG(LOG_LEVEL_INFO) << MOD_NAME "Using device " << deviceName << "\n"; } - if (!s->keep_device_defaults && s->profile.keep()) { + if (!s->keep_device_defaults && !s->profile.keep()) { decklink_set_profile(deckLink, s->profile, s->stereo); }