****************************************************************************/
static void hb_cli_error_handler ( const char *errmsg )
{
- hb_log( "ERROR: %s", errmsg );
+ fprintf( stderr, "ERROR: %s", errmsg );
}
int main( int argc, char ** argv )
job->x264opts = NULL;
- job->subtitle_scan = subtitle_scan;
+ job->indepth_scan = subtitle_scan;
fprintf( stderr, "Subtitle Scan Enabled - enabling "
"subtitles if found for foreign language segments\n");
job->select_subtitle = malloc(sizeof(hb_subtitle_t*));
job->pass = 1;
- job->subtitle_scan = 0;
+ job->indepth_scan = 0;
/*
* If turbo options have been selected then append them
* selected in the first pass (using the whacky select-subtitle
* attribute of the job).
*/
- job->subtitle_scan = 0;
+ job->indepth_scan = 0;
job->x264opts = x264opts2;
* precludes encoding of any actual subtitles.
*/
- job->subtitle_scan = 0;
+ job->indepth_scan = 0;
job->pass = 0;
hb_add( h, job );
}
" -Y, --maxHeight <#> Set maximum height\n"
" -X, --maxWidth <#> Set maximum width\n"
" -s, --subtitle <number> Select subtitle (default: none)\n"
- " -U, --subtitle-scan Scan for subtitles on the first pass, and choose\n"
+ " -U, --subtitle-scan Scan for subtitles in an extra first pass, and choose\n"
" the one that's only used 10 percent of the time\n"
" or less. This should locate subtitles for short\n"
- " foreign language segments. Only works with 2-pass.\n"
+ " foreign language segments. Best used in conjunction\n"
+ " with --subtitle-forced.\n"
" -F, --subtitle-forced Only display subtitles from the selected stream if\n"
" the subtitle has the forced flag set. May be used in\n"
" conjunction with --subtitle-scan to auto-select\n"