mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
improvement: get already existing sortingTrackGroups if exists
This commit is contained in:
parent
181676d950
commit
425bd2d801
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ public class TrackSelectionView extends LinearLayout {
|
|||
defaultView.setEnabled(true);
|
||||
|
||||
trackGroups = mappedTrackInfo.getTrackGroups(rendererIndex);
|
||||
sortedTrackGroups = initSortedTrackGroups(trackGroups);
|
||||
sortedTrackGroups = sortedTrackGroups != null ? sortedTrackGroups : initSortedTrackGroups(trackGroups);
|
||||
|
||||
// Add per-track views.
|
||||
trackViews = new CheckedTextView[sortedTrackGroups.length][];
|
||||
|
|
|
|||
Loading…
Reference in a new issue