mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-26 15:58:51 -04:00
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:
1 parent
fb7747c56e
commit
005863a346
3 files changed
+8
-7
No files matched your search
@@ -650,3 +650,8 @@ void OBSBasicSettings::UpdateVodTrackSetting()
|
||||
vodTrack[i]->setChecked((i + 1) == trackIndex);
|
||||
}
|
||||
}
|
||||
|
||||
OBSService OBSBasicSettings::GetStream1Service()
|
||||
{
|
||||
return stream1Changed ? SpawnTempService() : main->GetService();
|
||||
}
|
||||
Reference in new issue
Block a user