decklink: Default to 5.1 if invalid channel value 7

Value 7 was actually 5.1 surround mode, not 7.1.
This commit is contained in:
jp9000 2018-01-08 19:17:10 -08:00
parent ed5ee5aae2
commit 7764848070

View File

@ -77,7 +77,7 @@ static void decklink_update(void *data, obs_data_t *settings)
int chFmtInt = (int)obs_data_get_int(settings, CHANNEL_FORMAT);
if (chFmtInt == 7) {
chFmtInt = SPEAKERS_7POINT1;
chFmtInt = SPEAKERS_5POINT1;
} else if (chFmtInt < SPEAKERS_UNKNOWN || chFmtInt > SPEAKERS_7POINT1) {
chFmtInt = 2;
}