You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
remove weird offsets
Originally committed as revision 3660 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@ -695,7 +695,7 @@ static void do_video_out(AVFormatContext *s,
|
|||||||
if (vdelta < -1.1)
|
if (vdelta < -1.1)
|
||||||
nb_frames = 0;
|
nb_frames = 0;
|
||||||
else if (vdelta > 1.1)
|
else if (vdelta > 1.1)
|
||||||
nb_frames = lrintf(vdelta - 1.1 + 0.5);
|
nb_frames = lrintf(vdelta);
|
||||||
//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);
|
//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);
|
||||||
if (nb_frames == 0){
|
if (nb_frames == 0){
|
||||||
++nb_frames_drop;
|
++nb_frames_drop;
|
||||||
|
Reference in New Issue
Block a user