Commit daed32f7 authored by Wolfram Gloger's avatar Wolfram Gloger Committed by Michael Niedermayer

update sync_opts for video frame copy patch by (Wolfram Gloger <wmglo at dent...

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
parent 8b4d077f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment