Issue Summary
- Issue: Subtitles with identical start/end times (duration=0) are not ignored in both SRT and ASS formats, causing unintended persistence until the next cue.
- Expected: Such cues should be ignored entirely as they are invalid per subtitle standards.
- Examples:
1 00:00:00,000 --> 00:00:00,000 ABCDE 2 00:00:15,292 --> 00:00:34,083 Go awayDialogue: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,,-----Song 1-----
Suggested Fix: Add validation to discard zero-duration subtitles during parsing.