From e71ac4bb36c9cec69ed4cb45a48e179d662fa828 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 24 Jul 2011 20:32:13 +0000 Subject: Min Duration now uses Seconds rather than ticks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4140 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- test/test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/test.c') diff --git a/test/test.c b/test/test.c index c6fb92ef1..d9f360dec 100644 --- a/test/test.c +++ b/test/test.c @@ -135,7 +135,7 @@ static int64_t stop_at_pts = 0; static int stop_at_frame = 0; static char * stop_at_string = NULL; static char * stop_at_token = NULL; -static uint64_t min_title_duration = 900000LL; +static uint64_t min_title_duration = 10; /* Exit cleanly on Ctrl-C */ static volatile int die = 0; @@ -245,7 +245,7 @@ int main( int argc, char ** argv ) titleindex = 0; } - hb_scan( h, input, titleindex, preview_count, store_previews, min_title_duration ); + hb_scan( h, input, titleindex, preview_count, store_previews, min_title_duration * 90000LL ); /* Wait... */ while( !die ) @@ -2486,6 +2486,8 @@ static void ShowHelp() " -i, --input Set input device\n" " -t, --title Select a title to encode (0 to scan all titles only,\n" " default: 1)\n" + " --min-duration Set the minimum title duration (in seconds). Shorter\n" + " titles will not be scanned (default: 10)." " --scan Scan selected title only.\n" " --main-feature Detect and select the main feature title.\n" " -c, --chapters Select chapters (e.g. \"1-3\" for chapters\n" -- cgit v1.2.3