mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-27 08:18:50 -04:00
UI: Add GetCurrentSceneSource inline function
This commit is contained in:
1 parent
b8547aa811
commit
db48e3471e
1 file changed
+6
@@ -260,6 +260,12 @@ private:
|
||||
public:
|
||||
OBSScene GetCurrentScene();
|
||||
|
||||
inline OBSSource GetCurrentSceneSource()
|
||||
{
|
||||
OBSScene curScene = GetCurrentScene();
|
||||
return OBSSource(obs_scene_get_source(curScene));
|
||||
}
|
||||
|
||||
obs_service_t *GetService();
|
||||
void SetService(obs_service_t *service);
|
||||
|
||||
|
||||
Reference in new issue
Block a user