Skip to content

Commit dc3500d

Browse files
committed
Fix settings not applying correctly when changing to/from Local file
1 parent 60da328 commit dc3500d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

obs-browser-source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ void BrowserSource::Update(obs_data_t *settings)
340340
n_restart = obs_data_get_bool(settings, "restart_when_active");
341341
n_css = obs_data_get_string(settings, "css");
342342
n_url = obs_data_get_string(settings,
343-
is_local ? "local_file" : "url");
343+
n_is_local ? "local_file" : "url");
344344

345345
#if EXPERIMENTAL_SHARED_TEXTURE_SUPPORT_ENABLED
346346
bool n_hwaccel;

0 commit comments

Comments
 (0)