mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-04 23:05:15 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user