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
parent 5740a70dd2
commit 6e119b7256

View file

@ -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))
}