mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +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
5740a70dd2
commit
6e119b7256
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ impl Ord for VideoTimeCodeInterval {
|
|||
self.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.frames.cmp(&other.0.frames))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue