summaryrefslogtreecommitdiffstats
path: root/libhb/deccc608sub.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-10-28 16:43:48 +0000
committerjstebbins <[email protected]>2009-10-28 16:43:48 +0000
commit0beea80199a0bb95aebc6f4b09c50faad7531b68 (patch)
treeaaffcbb3ec406ce98cbd22a31ce93cf039369767 /libhb/deccc608sub.c
parentc591cf80cf88f25822b925ed1d214953da1c2345 (diff)
allow srt and cc subtitles to be up to 2 lines high.
any additional lines after 2 are merged into 2nd line git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2897 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/deccc608sub.c')
-rw-r--r--libhb/deccc608sub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/deccc608sub.c b/libhb/deccc608sub.c
index 5f1e8a14f..2f1374943 100644
--- a/libhb/deccc608sub.c
+++ b/libhb/deccc608sub.c
@@ -1637,7 +1637,8 @@ int write_cc_buffer_as_srt (struct eia608_screen *data, struct s_write *wb)
} else {
if (line == 2) {
wb->enc_buffer_used += encode_line (wb->enc_buffer+wb->enc_buffer_used,
- (unsigned char *) " ");
+ (unsigned char *) "\n");
+ line = 3;
} else {
wb->enc_buffer_used += encode_line (wb->enc_buffer+wb->enc_buffer_used,
(unsigned char *) " ");