diff --git a/ffmpeg.c b/ffmpeg.c index 63749e6fac..d2cbd031bb 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2318,6 +2318,8 @@ static int output_packet(InputStream *ist, } break; } + ist->pts = ist->dts; + ist->next_pts = ist->next_dts; } for (i = 0; pkt && i < nb_ostreams; i++) { OutputStream *ost = &ost_table[i];