Browse Source

aja: Fix Kona1 not auto-detecting capture pixel format

Paul Hindt 3 years ago
parent
commit
87ce26cfca
1 changed files with 4 additions and 5 deletions
  1. 4 5
      plugins/aja/aja-source.cpp

+ 4 - 5
plugins/aja/aja-source.cpp

@@ -487,12 +487,11 @@ bool AJASource::ReadWireFormats(NTV2DeviceID device_id, IOSelection io_select,
 		if (NTV2_INPUT_SOURCE_IS_SDI(src)) {
 			if (NTV2DeviceHasBiDirectionalSDI(device_id)) {
 				mCard->SetSDITransmitEnable(channel, false);
-				mCard->WaitForInputVerticalInterrupt(channel);
-
-				VPIDData vpid_data;
-				if (ReadChannelVPIDs(channel, vpid_data))
-					vpids.push_back(vpid_data);
 			}
+			mCard->WaitForInputVerticalInterrupt(channel);
+			VPIDData vpid_data;
+			if (ReadChannelVPIDs(channel, vpid_data))
+				vpids.push_back(vpid_data);
 		} else if (NTV2_INPUT_SOURCE_IS_HDMI(src)) {
 			mCard->WaitForInputVerticalInterrupt(channel);