forked from mirrors/gstreamer-rs
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
|
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