mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-04 11:09:09 +00:00
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:
parent
8b4d077fc9
commit
daed32f7d0
4
ffmpeg.c
4
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user