mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 06:50:59 +00:00
clippy pass
This commit is contained in:
parent
e573f0ba16
commit
c81213b83c
2 changed files with 8 additions and 8 deletions
|
@ -455,10 +455,10 @@ impl ProxySink {
|
||||||
|
|
||||||
let pending_queue = shared_ctx.pending_queue.as_mut().unwrap();
|
let pending_queue = shared_ctx.pending_queue.as_mut().unwrap();
|
||||||
|
|
||||||
let schedule_now = match item {
|
let schedule_now = !matches!(
|
||||||
DataQueueItem::Event(ref ev) if ev.type_() != gst::EventType::Eos => false,
|
item,
|
||||||
_ => true,
|
DataQueueItem::Event(ref ev) if ev.type_() != gst::EventType::Eos,
|
||||||
};
|
);
|
||||||
|
|
||||||
pending_queue.items.push_back(item);
|
pending_queue.items.push_back(item);
|
||||||
|
|
||||||
|
|
|
@ -572,10 +572,10 @@ impl Queue {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
let schedule_now = match item {
|
let schedule_now = !matches!(
|
||||||
DataQueueItem::Event(ref ev) if ev.type_() != gst::EventType::Eos => false,
|
item,
|
||||||
_ => true,
|
DataQueueItem::Event(ref ev) if ev.type_() != gst::EventType::Eos,
|
||||||
};
|
);
|
||||||
|
|
||||||
pending_queue.as_mut().unwrap().items.push_back(item);
|
pending_queue.as_mut().unwrap().items.push_back(item);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue