[mythtv] [PATCH] FlagCommercials update jobComment typo

Chris Pinkham cpinkham at bc2va.org
Mon Dec 27 02:16:26 UTC 2004


> This looks like a typo too.

> -            if (jobID != -1 && (framesRead % 500))
> +            if (jobID != -1 && ((framesRead % 500) == 0))

Thanks.  Committed to CVS.  Looks like that would cause
updates to occur every 100 frames instead of every 500.
The 100 would be determined by the fact that the line
of code below wouldn't even be reached unless framesRead
was evenly divisible by 100 or 500.  Probably why I
didn't notice or catch it earlier.

-- 

Chris



More information about the mythtv-dev mailing list