mirror of
https://github.com/androidx/media.git
synced 2025-05-12 01:59:50 +08:00

ac3Bitrate is set only after the first buffer is handled, which meant that getting the playback position would cause a divide by zero before then. When playing back AC-3 content, the ac3Bitrate will always be set after the first buffer is handled, so return a 0 position if it is not set.