gstreamer/buffer: Don't implement ExactSizeIterator on meta iterator

We don't actually know the number of items and using the trait would
panic.
This commit is contained in:
Sebastian Dröge 2020-10-09 11:19:21 +03:00
parent 323bb1269b
commit 7aeb0e8f92

View file

@ -751,8 +751,6 @@ macro_rules! define_meta_iter(
}
}
}
impl<'a, T: MetaAPI> ExactSizeIterator for $name<'a, T> {}
}
);