Skip to content

Full screen bitmap smpte-tt subtitle not rendered correctly  #5633

@szaboa

Description

@szaboa

[REQUIRED] Issue description

Support for image based SMPTE-TT subtitles was implemented in #1583, however it's not working quite well for "full screen" subtitles as it renders these out of the screen and with wrong height. By full screen I mean when the subtitle should take size of the surface. This is the case when tt tts:extent = region tts:extent in case of pixel based regions.

[REQUIRED] Reproduction steps

It can be reproduced with the ExoPlayer demo app, just needs a stream with image based SMPTE-TT subtitle track where the Base64 encoded bitmap is "full screen".

[REQUIRED] Link to test content

Email

[REQUIRED] A full bug report captured from the device

No logs required.

[REQUIRED] Version of ExoPlayer being used

ExoPlayer 2.9.3 - 2.9.6

[REQUIRED] Device(s) and version(s) of Android being used

It can be reproduced every time and not device dependent.
In my tests, I've used Pixel 1.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions