after the last commit.
Originally committed as revision 15945 to svn://svn.ffmpeg.org/ffmpeg/trunk
int64_t sample_index; /* current sample */
int64_t start; /* time when read started */
- unsigned long frame; /* current frame */
int64_t next_pts; /* synthetic pts for cases where pkt.pts
is not defined */
int64_t pts; /* current pts */
int64_t now = av_gettime() - ist->start;
if (pts > now)
usleep(pts - now);
-
- ist->frame++;
}
/* if output time reached then transcode raw format,
if (ist->st->codec->rate_emu) {
ist->start = av_gettime();
- ist->frame = 0;
}
}
}