[FFmpeg-devel] [PATCH] x11grab: fixed next frame capture time calculation

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 3 10:24:29 CET 2016


Trevor \\ Higgins <doublebackslash <at> gmail.com> writes:

> -        if (delay <= 0) {

The patch will get more readable and easier to review 
if you don't change this line.

> +    do{

> +    }while((s->time_frame * av_q2d(s->time_base) - curtime) <= 0);

Please make this:
 do {
...
 } while ((...
to keep the style consistent within the file.

Carl Eugen



More information about the ffmpeg-devel mailing list