Skip to content

Commit

Permalink
src: video: set intervals as descending order
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso authored and patrickelectric committed Jan 12, 2022
1 parent 1b8dddf commit 3a7fe26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/video_source_local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ impl VideoSource for VideoSourceLocal {
sizes.dedup();
sizes.iter_mut().for_each(|s| {
s.intervals.sort();
s.intervals.reverse();
s.intervals.dedup();
});

Expand Down

0 comments on commit 3a7fe26

Please sign in to comment.