Sfoglia il codice sorgente

decklink: Default to 5.1 if invalid channel value 7

Value 7 was actually 5.1 surround mode, not 7.1.
jp9000 8 anni fa
parent
commit
7764848070
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      plugins/decklink/plugin-main.cpp

+ 1 - 1
plugins/decklink/plugin-main.cpp

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