SSA - margin left/right are now written as "0" instead of "000"... + default actor is "" and not "Default"

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1590 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2013-02-02 05:39:35 +00:00
parent e84ca55ea8
commit f4abf3ce0e

View File

@ -87,8 +87,8 @@ Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour,
Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text";
const string timeCodeFormat = "{0}:{1:00}:{2:00}.{3:00}"; // h:mm:ss.cc
const string paragraphWriteFormat = "Dialogue: 0,{0},{1},{3},{4},0000,0000,0000,,{2}";
const string commentWriteFormat = "Comment: 0,{0},{1},{3},{4},0000,0000,0000,,{2}";
const string paragraphWriteFormat = "Dialogue: 0,{0},{1},{3},{4},0,0,0,,{2}";
const string commentWriteFormat = "Comment: 0,{0},{1},{3},{4},0,0,0,,{2}";
var sb = new StringBuilder();
System.Drawing.Color fontColor = System.Drawing.Color.FromArgb(Configuration.Settings.SubtitleSettings.SsaFontColorArgb);
@ -119,7 +119,7 @@ Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
string style = "Default";
if (!string.IsNullOrEmpty(p.Extra) && isValidAssHeader && styles.Contains(p.Extra))
style = p.Extra;
string actor = "Default";
string actor = "";
if (!string.IsNullOrEmpty(p.Actor))
actor = p.Actor;