Merge branch 'hls-quality-sort' into 'master'

Adaptive Quality Sort

See merge request videostreaming/grayjay!118
This commit is contained in:
Koen 2025-06-16 09:41:22 +00:00
commit 0dbe398435

View file

@ -1934,8 +1934,8 @@ class VideoDetailView : ConstraintLayout {
}
updateQualityFormatsOverlay(
videoTrackFormats.distinctBy { it.height }.sortedBy { it.height },
audioTrackFormats.distinctBy { it.bitrate }.sortedBy { it.bitrate });
videoTrackFormats.distinctBy { it.height }.sortedByDescending { it.height },
audioTrackFormats.distinctBy { it.bitrate }.sortedByDescending { it.bitrate });
}
}