30 Nov
2023
30 Nov
'23
10 p.m.
Zebediah Figura (@zfigura) commented about dlls/winegstreamer/wm_reader.c:
parser = reader->wg_parser; LeaveCriticalSection(&reader->init_cs);
+ if (!parser) + { + Sleep(10); + continue; + } +
This is ugly. Either we should explicitly block the read thread, or shut it down and restart it. The latter is probably simpler. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4449#note_54465