Commit 168d0cc9 by bachinger

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

PiperOrigin-RevId: 400666736
parents 014ee8f5 e883c040
......@@ -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.
......
......@@ -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;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment