mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-04-11 18:34:06 +00:00
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:
parent
72f4c54e5e
commit
9bf2cff872
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue