libhb: interjob vrate info did not get updated when there is an indepth scan
authorjstebbins <jstebbins.hb@gmail.com>
Thu, 11 Jun 2009 23:26:05 +0000 (23:26 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
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://svn.handbrake.fr/HandBrake/trunk@2522 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/work.c

index 53d9e27c74a2feaf565e1fa6726a724b50d9a9c1..b7cf32ae7ea8b208ce75ac111c7551220c076acd 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. */