vcap/decklink: profile setting fix

Fixed the wrong condition since the commit 215ee42481 (2023-05-04) -
profile was actually not set.
This commit is contained in:
Martin Pulec
2024-06-05 17:01:47 +02:00
parent 9f52fabe76
commit 498fd765ee

View File

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