summaryrefslogtreecommitdiff
path: root/src/subrip_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-02 23:37:33 +0200
committerCarl Hetherington <cth@carlh.net>2022-09-02 23:37:34 +0200
commitb02d08547dd5739ede56cf73190b23f0bcd990a8 (patch)
tree97d02f851297b3d104363580eeb32471d7275f8b /src/subrip_reader.cc
parent741ea7cbed5ea12b5b1f3e67b5aff0dd75124721 (diff)
Correctly parse \c tags in SSA (with no specified colour) to return to PrimaryColour.
This seems to be what libssa does.
Diffstat (limited to 'src/subrip_reader.cc')
-rw-r--r--src/subrip_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subrip_reader.cc b/src/subrip_reader.cc
index 94e1383..7c7b5c2 100644
--- a/src/subrip_reader.cc
+++ b/src/subrip_reader.cc
@@ -268,7 +268,7 @@ SubripReader::convert_line (string t, RawSubtitle& p)
++i;
}
++i;
- SSAReader::parse_style (p, ssa, 288, 288);
+ SSAReader::parse_style (p, ssa, 288, 288, Colour(1, 1, 1));
} else {
p.text += t[i];
++i;