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

This commit is contained in:
PatTheMav 2023-03-22 18:18:56 +01:00 • committed by Ryan Foster
commit fe34045d6a
2 changed files with 0 additions and 11 deletions

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