]> granicus.if.org Git - handbrake/commitdiff
libhb: fix problem with fps calculation in 2 pass encodes
authorjstebbins <jstebbins.hb@gmail.com>
Sat, 14 Apr 2012 19:32:21 +0000 (19:32 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Sat, 14 Apr 2012 19:32:21 +0000 (19:32 +0000)
interjob was not getting initialized at the end of the 1st pass
because for some unfathomable reason, I did not save the job in
the filter objects private data even though I had a job variable there.

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

libhb/vfr.c

index ab6666549770c90e20907df0313e04ee095419d6..9c3e2e2a8ee8e9155c75806aabce3c92d168d76b 100644 (file)
@@ -309,7 +309,7 @@ static int hb_vfr_init( hb_filter_object_t * filter,
                 &pv->cfr, &pv->vrate, &pv->vrate_base );
     }
 
-    //pv->job = init->job;
+    pv->job = init->job;
 
     /* Setup FIFO queue for subtitle cache */
     pv->delay_queue = hb_fifo_init( 8, 1 );