diff options
author | jstebbins <[email protected]> | 2015-04-07 19:38:26 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-04-07 19:38:26 +0000 |
commit | 12495656b1ca29464fe0f734b653bef06ce29a53 (patch) | |
tree | c89c37813b55f8d42d6f7ba4df7ad1ed0e7cbc2b | |
parent | f80a6615f31b4106ea3229b21e30926fc423d91e (diff) |
deccc608sub: don't ignore text attributes in PAC
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7071 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/deccc608sub.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libhb/deccc608sub.c b/libhb/deccc608sub.c index ab9e2522e..77c677359 100644 --- a/libhb/deccc608sub.c +++ b/libhb/deccc608sub.c @@ -1515,12 +1515,13 @@ static void handle_pac(unsigned char c1, unsigned char c2, struct s_write *wb) return; } } - int color=pac2_attribs[c2][0]; - int font=pac2_attribs[c2][1]; + wb->data608->color=pac2_attribs[c2][0]; + wb->data608->font=pac2_attribs[c2][1]; int indent=pac2_attribs[c2][2]; if (debug_608) - hb_log (" -- Position: %d:%d, color: %s, font: %s\n",row, - indent,color_text[color][0],font_text[font]); + hb_log (" -- Position: %d:%d, color: %s, font: %s\n", row, indent, + color_text[wb->data608->color][0], + font_text[wb->data608->font]); // CC spec says to the preferred method to handle a roll-up base row // that causes the display to scroll off the top of the screen is to |