diff options
author | John Stebbins <[email protected]> | 2016-02-16 15:41:41 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-02-16 15:42:37 -0700 |
commit | 460a5ea930217e603bdcdd1383a008fdcfbaefad (patch) | |
tree | 8a580c58958834d019a0006f2f5cbf04a9e7a2c0 /libhb | |
parent | 6e92d2c016d0a4af77de22c988cb946428f797f2 (diff) |
decomb: fix decomb check
Only the last segment's results were being checked!
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/decomb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/decomb.c b/libhb/decomb.c index 165ee237a..b624031b4 100644 --- a/libhb/decomb.c +++ b/libhb/decomb.c @@ -809,7 +809,6 @@ static void detect_combed_segment( hb_filter_private_t * pv, int segment_start, AviSynth and tritical's IsCombedT and IsCombedTIVTC plugins. */ - /* Comb scoring algorithm */ int spatial_metric = pv->spatial_metric; /* Motion threshold */ @@ -2181,7 +2180,7 @@ static int hb_decomb_init( hb_filter_object_t * filter, decomb_prev_thread_args = NULL; for( ii = 0; ii < pv->comb_check_nthreads; ii++ ) { - decomb_thread_arg_t *thread_args, *decomb_prev_thread_args = NULL; + decomb_thread_arg_t *thread_args; thread_args = taskset_thread_args( &pv->decomb_check_taskset, ii ); thread_args->pv = pv; |