Extra "\n" causing generation "augment" when extracting SubStation alpha subtitles
We have this .ass file:
[Script Info]
PlayResX: 1920
PlayResY: 1080
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:20.95,0:00:22.05,,,0,0,0,,
After muxing >> extracting:
[Script Info]
PlayResX: 1920
PlayResY: 1080
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:20.95,0:00:22.05,,,0,0,0,,
After muxing >> extracting:
[Script Info]
PlayResX: 1920
PlayResY: 1080
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:20.95,0:00:22.05,,,0,0,0,,
The number of newlines keeps augmenting after every extract, which could potentially trouble those who want deterministic output (#2698 (closed)). I suppose the problem's here, but I'm not really sure.