File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ void BrowserSource::UpdateSettings(obs_data_t *settings)
2828 width = (uint32_t )obs_data_get_int (settings, " width" );
2929 height = (uint32_t )obs_data_get_int (settings, " height" );
3030 fps = (uint32_t )obs_data_get_int (settings, " fps" );
31+ shutdown = obs_data_get_bool (settings, " shutdown" );
3132
3233 UpdateBrowser ();
3334}
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ class BrowserSource {
4747 uint32_t GetWidth () const { return width; }
4848 uint32_t GetHeight () const { return height; }
4949 obs_source_t *GetSource () const { return source; }
50+ const bool GetShutdown () const { return shutdown; }
5051
5152 int GetBrowserIdentifier () const { return browserIdentifier; }
5253
@@ -78,6 +79,7 @@ class BrowserSource {
7879 uint32_t width;
7980 uint32_t height;
8081 uint32_t fps;
82+ bool shutdown;
8183
8284 int browserIdentifier;
8385
You can’t perform that action at this time.
0 commit comments