1
0
Fork 0
forked from wry/wry

pipewire: fix signaling of consumers

This commit is contained in:
Julian Orth 2024-09-02 21:07:53 +02:00
parent a57126327c
commit 8d2bd6f660
3 changed files with 34 additions and 32 deletions

View file

@ -454,9 +454,7 @@ impl UsrJayScreencastOwner for StartedScreencast {
}
io.buffer_id.store(ev.idx, Relaxed);
io.status.store(SPA_STATUS_HAVE_DATA.0, Release);
if let Some(wfd) = self.port.node.transport_out.get() {
let _ = uapi::eventfd_write(wfd.raw(), 1);
}
self.port.node.drive();
}
fn destroyed(&self) {