0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

aja: Remove unused variables

This commit is contained in:
PatTheMav 2023-02-16 20:56:33 +01:00 committed by Jim
parent 41a10b05fd
commit ce9854a11b
3 changed files with 0 additions and 16 deletions

View File

@ -917,10 +917,6 @@ bool aja_output_device_changed(void *data, obs_properties_t *props,
obs_properties_get(props, kUIPropVideoFormatSelect.id);
obs_property_t *pix_fmt_list =
obs_properties_get(props, kUIPropPixelFormatSelect.id);
obs_property_t *sdi_trx_list =
obs_properties_get(props, kUIPropSDITransport.id);
obs_property_t *sdi_4k_list =
obs_properties_get(props, kUIPropSDITransport4K.id);
const NTV2DeviceID deviceID = cardEntry->GetDeviceID();
populate_io_selection_output_list(cardID, outputID, deviceID,

View File

@ -211,11 +211,8 @@ bool Routing::ConfigureSourceRoute(const SourceProps &props, NTV2Mode mode,
if (!card)
return false;
bool found_preset = false;
auto deviceID = props.deviceID;
NTV2VideoFormat vf = props.videoFormat;
bool is_hfr = NTV2_IS_HIGH_NTV2FrameRate(
GetNTV2FrameRateFromVideoFormat(props.videoFormat));
auto init_src = props.InitialInputSource();
auto init_channel = props.Channel();
@ -355,10 +352,7 @@ bool Routing::ConfigureOutputRoute(const OutputProps &props, NTV2Mode mode,
if (!card)
return false;
bool found_preset = false;
auto deviceID = props.deviceID;
bool is_hfr = NTV2_IS_HIGH_NTV2FrameRate(
GetNTV2FrameRateFromVideoFormat(props.videoFormat));
NTV2OutputDestinations outputDests;
aja::IOSelectionToOutputDests(props.ioSelect, outputDests);
if (outputDests.empty()) {

View File

@ -28,7 +28,6 @@ static const char *kBlackNickname = "black";
static const char *kCompressionNickname = "comp";
static const char *kFrameSyncNickname = "fsync";
static const char *kTestPatternNickname = "pat";
static const char *kOENickname = "oe";
// Table of firmware widget's input crosspoint/id/channel/name/datastream index
// clang-format off
@ -342,11 +341,6 @@ static WidgetOutputSocket kWidgetOutputSockets[] = {
};
// clang-format on
static const size_t kNumWidgetInputSockets =
(sizeof(kWidgetInputSockets) / sizeof(WidgetInputSocket));
static const size_t kNumWidgetOutputSockets =
(sizeof(kWidgetOutputSockets) / sizeof(WidgetOutputSocket));
bool WidgetInputSocket::Find(const std::string &name, NTV2Channel channel,
int32_t datastream, WidgetInputSocket &inp)
{