mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
video/time_code_interval: Ord cmp minutes to other.minutes, not hours
Same mistake as the previous commit. Clipppy didn't find this one though :)
This commit is contained in:
parent
4157bb6c16
commit
26bfd5b98c
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ impl Ord for VideoTimeCodeInterval {
|
||||||
self.0
|
self.0
|
||||||
.hours
|
.hours
|
||||||
.cmp(&other.0.hours)
|
.cmp(&other.0.hours)
|
||||||
.then_with(|| self.0.minutes.cmp(&other.0.hours))
|
.then_with(|| self.0.minutes.cmp(&other.0.minutes))
|
||||||
.then_with(|| self.0.seconds.cmp(&other.0.seconds))
|
.then_with(|| self.0.seconds.cmp(&other.0.seconds))
|
||||||
.then_with(|| self.0.frames.cmp(&other.0.frames))
|
.then_with(|| self.0.frames.cmp(&other.0.frames))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue