]> granicus.if.org Git - handbrake/commitdiff
use more sensitive threshold for pullup detection
authorjstebbins <jstebbins.hb@gmail.com>
Tue, 25 Oct 2011 22:38:46 +0000 (22:38 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Tue, 25 Oct 2011 22:38:46 +0000 (22:38 +0000)
This improves our accuracy at detecting the framerate of telecined
material.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4320 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/scan.c

index df20d20693c6d1193d8c0dcfd8133cd6c447620b..ce7752326f59c44ce9425f1caf2443bcc4c8c15d 100644 (file)
@@ -848,7 +848,7 @@ skip_preview:
             title->rate_base = vid_info.rate_base;
             if( is_close_to( vid_info.rate_base, 900900, 100 ) )
             {
-                if( pulldown_count >= npreviews / 3 )
+                if( pulldown_count >= npreviews / 4 )
                 {
                     title->rate_base = 1126125;
                     hb_deep_log( 2, "Pulldown detected, setting fps to 23.976" );