frontend-tools: Reset stop event before starting captions
In case the stop event has already been set and hasn't had a chance to unset for whatever reason.
This commit is contained in:
parent
d32f7c95a2
commit
950f677cc2
@ -344,6 +344,8 @@ try {
|
||||
void obs_captions::start()
|
||||
{
|
||||
if (!captions->th.joinable()) {
|
||||
ResetEvent(captions->stop_event);
|
||||
|
||||
if (valid_lang(captions->lang_id))
|
||||
captions->th = thread([] () {captions->main_thread();});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user