UI: Refactor to make it easier to get service object
Refactors a bit of code to make it easier to get the current stream service object in the settings
This commit is contained in:
parent
fb7747c56e
commit
005863a346
3 changed files with 8 additions and 7 deletions
|
|
@ -650,3 +650,8 @@ void OBSBasicSettings::UpdateVodTrackSetting()
|
|||
vodTrack[i]->setChecked((i + 1) == trackIndex);
|
||||
}
|
||||
}
|
||||
|
||||
OBSService OBSBasicSettings::GetStream1Service()
|
||||
{
|
||||
return stream1Changed ? SpawnTempService() : main->GetService();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue