Skip to content

Commit

Permalink
Fix bug where all browser sources would be started when obs starts
Browse files Browse the repository at this point in the history
instead of only the ones that are visible
  • Loading branch information
OsirisNL committed Feb 28, 2016
1 parent a3bb651 commit 4b0ec17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions obs-browser/main-source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ static void *browser_source_create(obs_data_t *settings, obs_source_t *source)
{
BrowserSource *browserSource = new BrowserSource(settings, source);

if (browserSource->GetShutdown() && !obs_source_showing(source))
BrowserManager::Instance()->DestroyBrowser(browserSource->GetBrowserIdentifier());

return browserSource;
}

Expand Down

0 comments on commit 4b0ec17

Please sign in to comment.