Return gst::BusSyncReply::Drop from the bus sync handler in the Rust sendrecv example
authorSebastian Dröge <sebastian@centricular.com>
Thu, 24 Oct 2019 23:02:59 +0000 (02:02 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 24 Oct 2019 23:02:59 +0000 (02:02 +0300)
commit8b44f324358f10b1809366b00a34369ed99c6ec2
tree0f25588d9005a42c29c327a00927b075e3998eae
parentb3625eca9f6a10fd85888a317675668bd7bbc205
Return gst::BusSyncReply::Drop from the bus sync handler in the Rust sendrecv example

Otherwise all messages accumulate on the queue inside the bus and
nothing is ever removing them from there.

We handle messages elsewhere and only intercept them from the sync
handler.
webrtc/sendrecv/gst-rust/src/main.rs