From c2bc70c18d2fd1c3601b32f2a93b3b4a704786a5 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 18 Sep 2023 21:00:56 -0700 Subject: Reimplement BrowserSource as a StreamingPlugin BrowserSource now fades text out continuously over time. TODO * Delete C++ webserver, browsersource, transcript code * Add UI for text age fading --- GUI/GUI/GUI/Frame.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'GUI') diff --git a/GUI/GUI/GUI/Frame.cpp b/GUI/GUI/GUI/Frame.cpp index 30ccbde..23ac38c 100644 --- a/GUI/GUI/GUI/Frame.cpp +++ b/GUI/GUI/GUI/Frame.cpp @@ -2492,6 +2492,7 @@ void Frame::OnAppStart(wxCommandEvent& event) { EnsureVirtualEnv(/*block=*/true); }; +#if 0 obs_app_ = std::async(std::launch::async, [this, enable_browser_src, browser_src_port]() -> bool { if (enable_browser_src) { @@ -2500,6 +2501,7 @@ void Frame::OnAppStart(wxCommandEvent& event) { } return true; }); +#endif const std::string config_path(AppConfig::kConfigPath); py_app_ = std::move(PythonWrapper::StartApp(*app_c_, config_path, transcribe_out_, -- cgit v1.2.3