summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-03-23 20:18:08 +0000
committerjbrjake <[email protected]>2008-03-23 20:18:08 +0000
commitb8a3225525f7cb2be92b23611de9b1fb799edf32 (patch)
tree6f9d5bf76d32b0ff97b3a5f44d25821d8f8a7682
parent605848589fbd7397b20aa295277727450d4f364d (diff)
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://svn.handbrake.fr/HandBrake/trunk@1360 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--test/test.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c
index daccad651..e85dd595f 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;