From 05f42fdd434d4aa9cb4dd2aad414dabb30b74552 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Sun, 23 Mar 2008 20:18:08 +0000 Subject: [PATCH] CLI: - If title->detected_interlacing is true, mention it in the non-verbose scan output - Fixes a minor VFR bug that got the filter chain order wrong if other filters than detelecine were applied. git-svn-id: svn://localhost/HandBrake/trunk@1360 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- test/test.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/test/test.c b/test/test.c index daccad65..e85dd595 100644 --- a/test/test.c +++ b/test/test.c @@ -300,6 +300,13 @@ static void PrintTitleInfo( hb_title_t * title ) fprintf( stderr, " + %d, %s (iso639-2: %s)\n", i + 1, subtitle->lang, subtitle->iso639_2); } + + if(title->detected_interlacing) + { + /* Interlacing was found in half or more of the preview frames */ + fprintf( stderr, " + combing detected, may be interlaced or telecined\n"); + } + } static int HandleEvents( hb_handle_t * h ) @@ -725,6 +732,13 @@ static int HandleEvents( hb_handle_t * h ) { job->pixel_ratio = pixelratio; } + + if (vfr) + { + detelecine = 1; + job->vfr = 1; + } + /* Add selected filters */ job->filters = hb_list_init(); if( detelecine ) @@ -926,9 +940,6 @@ static int HandleEvents( hb_handle_t * h ) if (maxHeight) job->maxHeight = maxHeight; - if (vfr) - job->vfr = 1; - if( subtitle_force ) { job->subtitle_force = subtitle_force; -- 2.11.0