forked from amzn/exoplayer-amazon-port
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve multi-window playback controls behavior.
Only enable multi-window mode when the duration of every period in the timeline is known. Also, remove the warning logged when there are too many windows as it doesn't add much. The player's current period index was not masked while there were unacknowledged seeks. This led to the displayed position jumping, between when seekTo was called (after which the position would be masked but not the period index) and the seek being acknowledged (at which point the time bar's position would jump back to the seek position, due to the period index being resolved). Mask the period index, like the window index, to fix this behavior. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152116040
- Loading branch information
1 parent
6a7db4b
commit 8208a75
Showing
2 changed files
with
49 additions
and
16 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
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