bufferpool: Also consider flags when comparing BufferPoolAcquireParams for equality

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1668>
This commit is contained in:
Sebastian Dröge 2025-03-24 09:36:08 +02:00 committed by GStreamer Marge Bot
parent 72f4c54e5e
commit 9bf2cff872

View file

@ -323,7 +323,8 @@ impl BufferPoolAcquireParams {
impl PartialEq for BufferPoolAcquireParams {
fn eq(&self, other: &Self) -> bool {
self.format() == other.format()
self.flags() == other.flags()
&& self.format() == other.format()
&& self.start() == other.start()
&& self.stop() == other.stop()
}