diff --git a/ffmpeg.c b/ffmpeg.c index d8c7d68a4107cd2fc4d8c8d847653fc058d240a8..46b4f0098aef19d1ca331d15863216b21fb9e4ff 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1290,6 +1290,7 @@ static int av_encode(AVFormatContext **output_files, /* no reencoding needed : output the packet directly */ /* force the input stream PTS */ av_write_frame(os, ost->index, data_buf, data_size); + ost->st->codec.frame_number++; } } }