From 8ef56bb9bce53587d2b4e13399e86a3389d751be Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Thu, 5 Sep 2024 21:09:29 +0200 Subject: [PATCH] Try to fix missing header in Batch convert with WebVTT to ASSA Fix #8707 --- src/libse/SubtitleFormats/AdvancedSubStationAlpha.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libse/SubtitleFormats/AdvancedSubStationAlpha.cs b/src/libse/SubtitleFormats/AdvancedSubStationAlpha.cs index 3c654ac10..5d362d91b 100644 --- a/src/libse/SubtitleFormats/AdvancedSubStationAlpha.cs +++ b/src/libse/SubtitleFormats/AdvancedSubStationAlpha.cs @@ -173,7 +173,10 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text" if (isValidAssHeader) { styles = GetStylesFromHeader(subtitle.Header); + header = subtitle.Header; } + + sb.AppendFormat(header, title).AppendLine(); } else {