Skip to content

DASH with subtitles enabled often not starting on some devices #3057

@okycelt

Description

@okycelt

Version

Media3 1.9.1

More version details

Seems to be caused by e8664db. We weren't able to reproduce on 8367e42 and before.

Devices that reproduce the issue

  • CHANGHONG GIU5A40 (Android 10)
  • CHANGHONG GIU6770 (Android 9)

Devices that do not reproduce the issue

  • Pixel 9a (Android 16)
  • Pixel 3a (Android 12)
  • SEI Robotics Box R Lite 4K (Android 11)

Reproducible in the demo app?

Yes

Reproduction steps

  1. Set preferred text language to cs
  2. Play the attached media in the demo app
  3. If the playback starts, go back and play again (sometimes take 2 or 3 retries, sometimes 10)

Expected result

The media always starts

Actual result

Playback doesn't start at all or takes long time to start with video frozen first 10-20 seconds. When the issue happens, we always see lines like this in the log:

2026-02-05 10:10:38.842  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2270493 refill to 2283921 
2026-02-05 10:10:38.849  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2283921 refill to 2286045 
2026-02-05 10:10:38.856  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2286045 refill to 2286279 
2026-02-05 10:10:38.857  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2286045 refill to 2286456 
2026-02-05 10:10:38.857  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2286045 refill to 2300234 
2026-02-05 10:10:38.863  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2300234 refill to 2302071 
2026-02-05 10:10:38.871  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2302071 refill to 2302421 
2026-02-05 10:10:38.871  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2302071 refill to 2306837 
2026-02-05 10:10:38.878  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2306837 refill to 2323914 
2026-02-05 10:10:38.886  2306-4515  RTK_WRAP_DEC_VE1        media.codec                          D  [OMX] pVpu->bufferEmptySize 2323914 refill to 2327025 

Media

Sent via email

Bug Report

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions