Commit b6ebd0aa authored by michael's avatar michael

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>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3605 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a6ddf6ea
...@@ -1248,8 +1248,10 @@ static int output_packet(AVInputStream *ist, int ist_index, ...@@ -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;
......
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