UI: Remove unused variables to fix errors in the CMake 3.0 rework

This commit is contained in:
PatTheMav
2023-03-23 16:48:59 -04:00
committed by Ryan Foster
parent 81117fa5cb
commit fe34045d6a
2 changed files with 0 additions and 11 deletions
-2
View File
@@ -141,7 +141,6 @@ static void PopulateBitrateLists()
call_once(once, []() {
struct obs_audio_info aoi;
obs_get_audio_info(&aoi);
uint32_t output_channels = get_audio_channels(aoi.speakers);
/* NOTE: ffmpeg_aac and ffmpeg_opus have the same properties
* their bitrates will also be used as a fallback */
@@ -275,7 +274,6 @@ static void PopulateSimpleOpusBitrateMap()
call_once(once, []() {
struct obs_audio_info aoi;
obs_get_audio_info(&aoi);
uint32_t output_channels = get_audio_channels(aoi.speakers);
for (auto &bitrate : fallbackBitrates)
simpleOpusBitrateMap[bitrate] = "ffmpeg_opus";
-9
View File
@@ -1060,9 +1060,6 @@ bool SimpleOutput::SetupStreaming(obs_service_t *service)
obs_output_get_signal_handler(streamOutput), "stop",
OBSStopStreaming, this);
bool isEncoded = obs_output_get_flags(streamOutput) &
OBS_OUTPUT_ENCODED;
outputType = type;
}
@@ -1975,9 +1972,6 @@ inline void AdvancedOutput::SetupVodTrack(obs_service_t *service)
bool AdvancedOutput::SetupStreaming(obs_service_t *service)
{
int streamTrack =
config_get_int(main->Config(), "AdvOut", "TrackIndex");
if (!useStreamEncoder ||
(!ffmpegOutput && !obs_output_active(fileOutput))) {
UpdateStreamSettings();
@@ -2029,9 +2023,6 @@ bool AdvancedOutput::SetupStreaming(obs_service_t *service)
obs_output_get_signal_handler(streamOutput), "stop",
OBSStopStreaming, this);
bool isEncoded = obs_output_get_flags(streamOutput) &
OBS_OUTPUT_ENCODED;
outputType = type;
}