mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-04-15 04:14:07 +00:00
bufferpool: Also consider flags when comparing BufferPoolAcquireParams for equality
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1675>
This commit is contained in:
parent
8ef484ecf0
commit
0450ce589a
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