summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-07-11 12:39:33 -0700
committerJohn Stebbins <[email protected]>2019-07-11 12:39:33 -0700
commit5b49a09794566c65ef76abd4ffa7598c62d1fe89 (patch)
tree4210057502505487874e685d0c2025a1de11802c
parentc692e10e81f3748f8b60add4c2cb1051d0c27d48 (diff)
work: fix logging of SSA import tracks
-rw-r--r--libhb/work.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 56e7270bb..acd275053 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -620,6 +620,18 @@ void hb_display_job_info(hb_job_t *job)
subtitle->config.default_track ? ", Default" : "",
subtitle->config.offset, subtitle->config.src_codeset);
}
+ else if (subtitle->source == IMPORTSSA)
+ {
+ /* For SSA, print offset */
+ hb_log(" * subtitle track %d, %s (track %d, id 0x%x, Text) -> "
+ "%s%s, offset: %"PRId64,
+ subtitle->out_track, subtitle->lang, subtitle->track,
+ subtitle->id,
+ subtitle->config.dest == RENDERSUB ? "Render/Burn-in"
+ : "Passthrough",
+ subtitle->config.default_track ? ", Default" : "",
+ subtitle->config.offset);
+ }
else
{
hb_log(" * subtitle track %d, %s (track %d, id 0x%x, %s) -> "