Merge pull request #9525 from talklittle:fix-initial-position

PiperOrigin-RevId: 400666736
This commit is contained in:
bachinger 2021-10-04 11:56:36 +01:00
commit 168d0cc9a6
2 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,8 @@
* `SubtitleView` no longer implements `TextOutput`. `SubtitleView`
implements `Player.Listener`, so can be registered to a player with
`Player.addListener`.
* Fix initial timestamp display in `PlayerControlView`
([#9524](https://github.com/google/ExoPlayer/issues/9254)).
* Extractors:
* MP4: Correctly handle HEVC tracks with pixel aspect ratios other than 1.
* TS: Correctly handle HEVC tracks with pixel aspect ratios other than 1.

View File

@ -508,6 +508,9 @@ public class PlayerControlView extends FrameLayout {
shuffleOnContentDescription = resources.getString(R.string.exo_controls_shuffle_on_description);
shuffleOffContentDescription =
resources.getString(R.string.exo_controls_shuffle_off_description);
currentPosition = C.TIME_UNSET;
currentBufferedPosition = C.TIME_UNSET;
}
/**