|
|
@@ -1123,7 +1123,7 @@ static void do_video_out(AVFormatContext *s, |
|
|
|
if(vdelta<=-0.6){ |
|
|
|
nb_frames=0; |
|
|
|
}else if(vdelta>0.6) |
|
|
|
ost->sync_opts= lrintf(sync_ipts); |
|
|
|
ost->sync_opts= lrintf(sync_ipts); |
|
|
|
}else if (vdelta > 1.1) |
|
|
|
nb_frames = lrintf(vdelta); |
|
|
|
//fprintf(stderr, "vdelta:%f, ost->sync_opts:%"PRId64", ost->sync_ipts:%f nb_frames:%d\n", vdelta, ost->sync_opts, get_sync_ipts(ost), nb_frames); |
|
|
|