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
This commit is contained in:
Wolfram Gloger 2004-10-17 23:57:28 +00:00 committed by Michael Niedermayer
parent 8b4d077fc9
commit daed32f7d0
1 changed files with 3 additions and 1 deletions

View File

@ -1248,8 +1248,10 @@ static int output_packet(AVInputStream *ist, int ist_index,
if(ost->st->codec.codec_type == CODEC_TYPE_AUDIO) if(ost->st->codec.codec_type == CODEC_TYPE_AUDIO)
audio_size += data_size; 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; video_size += data_size;
ost->sync_opts++;
}
opkt.stream_index= ost->index; opkt.stream_index= ost->index;
opkt.data= data_buf; opkt.data= data_buf;