From 3a7fe260596da6012e1a61f349128e254d85cc8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ant=C3=B4nio=20Cardoso?= Date: Wed, 12 Jan 2022 17:25:56 -0300 Subject: [PATCH] src: video: set intervals as descending order --- src/video/video_source_local.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/video_source_local.rs b/src/video/video_source_local.rs index 64502e6e..3e67530d 100644 --- a/src/video/video_source_local.rs +++ b/src/video/video_source_local.rs @@ -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(); });