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:
Marijn Suijten 2020-12-19 12:53:04 +01:00 committed by Sebastian Dröge
parent 4157bb6c16
commit 26bfd5b98c

View file

@ -100,7 +100,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))
}