OSDN Git Service

libhb: interjob vrate info did not get updated when there is an indepth scan
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 11 Jun 2009 23:26:05 +0000 (23:26 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 11 Jun 2009 23:26:05 +0000 (23:26 +0000)
due to job sequence_id mismatch.  masking interjob sequence_id properly fixes.

git-svn-id: svn://localhost/HandBrake/trunk@2522 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/work.c

index 53d9e27..b7cf32a 100644 (file)
@@ -354,7 +354,7 @@ void correct_framerate( hb_job_t * job )
 
     hb_interjob_t * interjob = hb_interjob_get( job->h );
 
-    if( ( job->sequence_id & 0xFFFFFF ) != ( interjob->last_job ) )
+    if( ( job->sequence_id & 0xFFFFFF ) != ( interjob->last_job && 0xFFFFFF) )
         return; // Interjob information is for a different encode.
 
     /* Cache the original framerate before altering it. */