It doesn't show whether "Forced Only", "Default" were checked, or the charset when the source is an SRT file.
While the additional information is not absolutely necessary it can still be useful. Here's a patch: http://pastebin.org/223655
Code: Select all
Index: libhb/work.c
===================================================================
--- libhb/work.c (revision 3293)
+++ libhb/work.c (working copy)
@@ -305,14 +305,19 @@
if( subtitle )
{
- hb_log( " * subtitle track %i, %s (id %x) %s [%s] -> %s ", subtitle->track, subtitle->lang, subtitle->id,
+ hb_log( " * subtitle track %i, %s (id %x) %s [%s] -> %s%s%s%s%s%s", subtitle->track, subtitle->lang, subtitle->id,
subtitle->format == PICTURESUB ? "Picture" : "Text",
subtitle->source == VOBSUB ? "VOBSUB" :
subtitle->source == UTF8SUB ? "UTF-8" :
subtitle->source == TX3GSUB ? "TX3G" :
- ((subtitle->source == CC608SUB ||
- subtitle->source == CC708SUB) ? "CC" : "SRT"),
- subtitle->config.dest == RENDERSUB ? "Render/Burn in" : "Pass-Through");
+ subtitle->source == CC608SUB || subtitle->source == CC708SUB ? "CC" : "SRT",
+ subtitle->config.dest == RENDERSUB ? "Render/Burn in" : "Pass-Through",
+ subtitle->config.force ? ", Forced Only" : "",
+ subtitle->config.default_track ? ", Default" : "",
+ /* If we're doing SRT, print the charset in 3 steps for formatting */
+ subtitle->config.src_codeset && strlen( subtitle->config.src_codeset ) ? " (charset: " : "",
+ subtitle->config.src_codeset && strlen( subtitle->config.src_codeset ) ? subtitle->config.src_codeset : "",
+ subtitle->config.src_codeset && strlen( subtitle->config.src_codeset ) ? ")" : "" );
}
}