-
Notifications
You must be signed in to change notification settings - Fork 605
Fix cue render order for ass/ssa. #2137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@icbaker Could you take a look? Thanks! |
libraries/exoplayer/src/main/java/androidx/media3/exoplayer/text/MergingCuesResolver.java
Outdated
Show resolved
Hide resolved
libraries/common/src/main/java/androidx/media3/common/text/Cue.java
Outdated
Show resolved
Hide resolved
libraries/common/src/main/java/androidx/media3/common/text/Cue.java
Outdated
Show resolved
Hide resolved
libraries/extractor/src/main/java/androidx/media3/extractor/text/ssa/SsaParser.java
Outdated
Show resolved
Hide resolved
libraries/ui/src/main/java/androidx/media3/ui/SubtitlePainter.java
Outdated
Show resolved
Hide resolved
libraries/extractor/src/main/java/androidx/media3/extractor/text/CuesWithTiming.java
Outdated
Show resolved
Hide resolved
@icbaker hello, please make a review for the new commit, and hope this pr can merge to 1.6.0 final release. |
Please can you add some tests for this? I suggest:
For (2) I suggest you craft an SSA test file that has cues overlapping in time with different layer values, to demonstrate why the re-ordering has to be done 'outside' |
I add How can I add a test in |
Thanks for adding the tests to |
I'm going to send this for internal review now. You may see some more commits being added as I make changes in response to review feedback. Please refrain from pushing any more substantive changes as it will complicate the internal review - thanks! |
Thanks a lot for your help. 🫶 |
This should fix #2124