mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 03:21:00 +00:00
fmp4mux: Remove unreachable case
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1864>
This commit is contained in:
parent
4603a60ebe
commit
33becb9246
1 changed files with 0 additions and 4 deletions
|
@ -2429,9 +2429,6 @@ fn test_caps_changed_verify(
|
|||
) {
|
||||
for i in 0..num_bufs {
|
||||
let b = h.pull().unwrap();
|
||||
// FIXME: Rust 1.71 does not detect that the match is exhaustive so a `_` pattern has to be
|
||||
// added, but newer Rust warns (correctly) about that pattern being unreachable.
|
||||
#[allow(unreachable_patterns)]
|
||||
match (caps_changed, i, chunk) {
|
||||
(true, 0, _) => assert_eq!(
|
||||
b.flags(),
|
||||
|
@ -2452,7 +2449,6 @@ fn test_caps_changed_verify(
|
|||
assert_eq!(b.flags(), gst::BufferFlags::DELTA_UNIT);
|
||||
}
|
||||
}
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue