Originally committed as revision 3660 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2004/11/05 04:02:14... | ... |
@@ -695,7 +695,7 @@ static void do_video_out(AVFormatContext *s, |
695 | 695 |
if (vdelta < -1.1) |
696 | 696 |
nb_frames = 0; |
697 | 697 |
else if (vdelta > 1.1) |
698 |
- nb_frames = lrintf(vdelta - 1.1 + 0.5); |
|
698 |
+ nb_frames = lrintf(vdelta); |
|
699 | 699 |
//fprintf(stderr, "vdelta:%f, ost->sync_opts:%lld, ost->sync_ipts:%f nb_frames:%d\n", vdelta, ost->sync_opts, ost->sync_ipts, nb_frames); |
700 | 700 |
if (nb_frames == 0){ |
701 | 701 |
++nb_frames_drop; |