summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-21 16:44:18 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-21 16:44:18 +0100
commit45197b9521ae1004e7b1ce0175897ae4769d298b (patch)
tree269d67563df57a76ac6a778fba90345278134fe4 /src
parent3a009b85a23ce240ce3fa90736dda2b8a87a75da (diff)
Put all subtitles in group 1.
Diffstat (limited to 'src')
-rw-r--r--src/stl_binary_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stl_binary_writer.cc b/src/stl_binary_writer.cc
index 1e85b81..74e26ea 100644
--- a/src/stl_binary_writer.cc
+++ b/src/stl_binary_writer.cc
@@ -176,7 +176,7 @@ sub::write_stl_binary (
/* Total number of subtitles */
put_int_as_string (buffer + 243, subtitles.size (), 5);
/* Total number of subtitle groups */
- put_string (buffer + 248, "000");
+ put_string (buffer + 248, "001");
/* Maximum number of displayable characters in any text row */
put_int_as_string (buffer + 251, longest, 2);
/* Maximum number of displayable rows */
@@ -202,7 +202,7 @@ sub::write_stl_binary (
for (list<Subtitle>::const_iterator i = subtitles.begin(); i != subtitles.end(); ++i) {
/* Subtitle group number */
- put_int_as_int (buffer + 0, 0, 1);
+ put_int_as_int (buffer + 0, 1, 1);
/* Subtitle number */
put_int_as_int (buffer + 1, N, 2);
/* Extension block number */