output/PipeWire: lock thread loop in SendTag
This commit is contained in:
parent
8d2a184658
commit
949d72e368
2
NEWS
2
NEWS
|
@ -1,6 +1,8 @@
|
|||
ver 0.23.13 (not yet released)
|
||||
* input
|
||||
- curl: fix busy loop after connection failed
|
||||
* output
|
||||
- pipewire: fix corruption bug due to missing lock
|
||||
|
||||
ver 0.23.12 (2023/01/17)
|
||||
* input
|
||||
|
|
|
@ -973,6 +973,8 @@ PipeWireOutput::SendTag(const Tag &tag)
|
|||
|
||||
struct spa_dict dict = SPA_DICT_INIT(items, n_items);
|
||||
|
||||
const PipeWire::ThreadLoopLock lock(thread_loop);
|
||||
|
||||
auto rc = pw_stream_update_properties(stream, &dict);
|
||||
if (rc < 0)
|
||||
LogWarning(pipewire_output_domain, "Error updating properties");
|
||||
|
|
Loading…
Reference in New Issue