OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d34a074
)
remove weird offsets
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 4 Nov 2004 19:02:14 +0000
(19:02 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 4 Nov 2004 19:02:14 +0000
(19:02 +0000)
Originally committed as revision 3660 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
3b8a274
..
8484937
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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;