diff options
author | jstebbins <[email protected]> | 2014-04-03 01:16:42 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-04-03 01:16:42 +0000 |
commit | d7b0bcb01756e1768bdf3b53a61fc20fbba42d4b (patch) | |
tree | 616c5dd560781bfa3a55914d5453028d712a13d9 /libhb/deccc608sub.c | |
parent | 6ff517c3741cf3476e035ae3f35ac908d2f79d15 (diff) |
decccsub: fix timestamp of "clear" subtitles
This broke CC passthru and is probably the cause of
https://forum.handbrake.fr/viewtopic.php?f=11&t=29835
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6143 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/deccc608sub.c')
-rw-r--r-- | libhb/deccc608sub.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/deccc608sub.c b/libhb/deccc608sub.c index d732ae21e..2c8c41b54 100644 --- a/libhb/deccc608sub.c +++ b/libhb/deccc608sub.c @@ -1781,6 +1781,12 @@ void handle_command (/*const */ unsigned char c1, const unsigned char c2, struct // Write it to disk before doing this, and make a note of the new // time it became clear. erase_memory (wb,1); + if (wb->data608->mode == MODE_POPUP) + { + // If popup, the last pts is the time to remove the + // popup from the screen + wb->data608->current_visible_start_ms = get_fts(wb); + } // Write "clear" subtitle if necessary write_cc_buffer(wb); break; |