OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4d077
)
update sync_opts for video frame copy patch by (Wolfram Gloger <wmglo at dent dot...
author
Wolfram Gloger
<wmglo@dent.med.uni-muenchen.de>
Sun, 17 Oct 2004 23:57:28 +0000
(23:57 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 17 Oct 2004 23:57:28 +0000
(23:57 +0000)
Originally committed as revision 3605 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
e37fc96
..
d221f12
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-1248,8
+1248,10
@@
static int output_packet(AVInputStream *ist, int ist_index,
if(ost->st->codec.codec_type == CODEC_TYPE_AUDIO)
audio_size += data_size;
- else if (ost->st->codec.codec_type == CODEC_TYPE_VIDEO)
+ else if (ost->st->codec.codec_type == CODEC_TYPE_VIDEO)
{
video_size += data_size;
+ ost->sync_opts++;
+ }
opkt.stream_index= ost->index;
opkt.data= data_buf;