X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=ffmpeg.c;h=46b4f0098aef19d1ca331d15863216b21fb9e4ff;hp=d8c7d68a4107cd2fc4d8c8d847653fc058d240a8;hb=b2722d0a42d69bdb2461d37bad3b7ed6f7a6a51b;hpb=5981f4e6930d134d6b3d11546cd3ff49ed6d09cf diff --git a/ffmpeg.c b/ffmpeg.c index d8c7d68a41..46b4f0098a 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++; } } }