mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
UI: Remove unused variables to fix errors in the CMake 3.0 rework
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user