-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove quality selector and add video selector
- Loading branch information
Showing
12 changed files
with
346 additions
and
847 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
...ed/src/main/java/ch/srgssr/pillarbox/demo/shared/ui/player/settings/SettingItemOptions.kt
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
...red/src/main/java/ch/srgssr/pillarbox/demo/shared/ui/player/settings/TracksSettingItem.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (c) SRG SSR. All rights reserved. | ||
* License information is available from the LICENSE file. | ||
*/ | ||
package ch.srgssr.pillarbox.demo.shared.ui.player.settings | ||
|
||
import ch.srgssr.pillarbox.player.tracks.Track | ||
|
||
/** | ||
* The setting for a specific kind a track (audio/text/video). | ||
*/ | ||
data class TracksSettingItem( | ||
/** | ||
* The title of the setting. | ||
*/ | ||
val title: String, | ||
|
||
/** | ||
* The list of possible tracks. | ||
*/ | ||
val tracks: List<Track>, | ||
|
||
/** | ||
* `true` if this kind of tracks is disabled, `false` otherwise. | ||
*/ | ||
val disabled: Boolean | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.