SubtitlePainter.java
14.8 KB
-
Discard subtitles with invalid positions · ad857852
textWidth can be negative if textLeft extends parentRight (i.e. the subtitle is positioned entirely off the screen to the RHS). We should just discard and log a warning in this case. Issue: #2497 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=148481310
olly committed