output/PipeWire: lock thread loop in SendTag
This commit is contained in:
parent
20a5276560
commit
eabc487e59
|
@ -962,6 +962,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