mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Replace a bounded channel by an unbounded one in the gstreamer plugin
This commit is contained in:
parent
78c7621177
commit
172d296c8b
1 changed files with 1 additions and 1 deletions
|
@ -962,7 +962,7 @@ impl ServoWebSrc {
|
||||||
|
|
||||||
if gfx.swap_chain.is_none() {
|
if gfx.swap_chain.is_none() {
|
||||||
debug!("Getting the swap chain");
|
debug!("Getting the swap chain");
|
||||||
let (acks, ackr) = crossbeam_channel::bounded(1);
|
let (acks, ackr) = crossbeam_channel::unbounded();
|
||||||
let _ = self.sender.send(ServoWebSrcMsg::GetSwapChain(acks));
|
let _ = self.sender.send(ServoWebSrcMsg::GetSwapChain(acks));
|
||||||
gfx.swap_chain = ackr.recv_timeout(Duration::from_millis(16)).ok();
|
gfx.swap_chain = ackr.recv_timeout(Duration::from_millis(16)).ok();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue