Skip to content

Commit 498fd76

Browse files
committed
vcap/decklink: profile setting fix
Fixed the wrong condition since the commit 215ee42 (2023-05-04) - profile was actually not set.
1 parent 9f52fab commit 498fd76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video_capture/decklink.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ bool device_state::init(struct vidcap_decklink_state *s, struct tile *t, BMDAudi
11281128
LOG(LOG_LEVEL_INFO) << MOD_NAME "Using device " << deviceName << "\n";
11291129
}
11301130

1131-
if (!s->keep_device_defaults && s->profile.keep()) {
1131+
if (!s->keep_device_defaults && !s->profile.keep()) {
11321132
decklink_set_profile(deckLink, s->profile, s->stereo);
11331133
}
11341134

0 commit comments

Comments
 (0)