This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
remove weird offsets
Originally committed as revision 3660 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
21 years ago
parent
d34a07466f
commit
70122f2902
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ffmpeg.c
+ 1
- 1
ffmpeg.c
View File
@@ -695,7 +695,7 @@ static void do_video_out(AVFormatContext *s,
if (vdelta < -1.1)
nb_frames = 0;
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);
if (nb_frames == 0){
++nb_frames_drop;
Write
Preview
Loading…
Cancel
Save