]> granicus.if.org Git - handbrake/commitdiff
fix logging of of PtoP frame range in job
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 11 Nov 2016 16:03:48 +0000 (08:03 -0800)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 11 Nov 2016 16:04:39 +0000 (08:04 -0800)
libhb/work.c

index a2290cc8b0830a006efa60a199d2a7eb8b20bf6f..6b2452d190311a981dd6cbbee09021e029c29e35 100644 (file)
@@ -313,8 +313,9 @@ void hb_display_job_info(hb_job_t *job)
     }
     else if( job->frame_to_start || job->frame_to_stop )
     {
-        hb_log( "   + title %d, frames %d to %d", title->index,
-                job->frame_to_start, job->frame_to_start + job->frame_to_stop );
+        hb_log("   + title %d, frames %d to %d", title->index,
+               job->frame_to_start, job->frame_to_start +
+                                    job->frame_to_stop - 1);
     }
     else
     {