diff options
author | Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> | 2004-10-17 23:57:28 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-17 23:57:28 +0000 |
commit | daed32f7d02d1d8d7e21675f059168b82213658a (patch) | |
tree | 451d944440b91719e803ac94bc8030959022cb7f /ffmpeg.c | |
parent | 8b4d077fc9de4d57ee874ca9007ed1553f224853 (diff) | |
download | ffmpeg-daed32f7d02d1d8d7e21675f059168b82213658a.tar.gz |
update sync_opts for video frame copy patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3605 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |