1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-14 22:22:59 +02:00

ffmpeg: update (next_)pts in the stream copy case

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-02-08 17:26:06 +01:00
parent 160008a60f
commit fba318a4b0

@ -2318,6 +2318,8 @@ static int output_packet(InputStream *ist,
} }
break; break;
} }
ist->pts = ist->dts;
ist->next_pts = ist->next_dts;
} }
for (i = 0; pkt && i < nb_ostreams; i++) { for (i = 0; pkt && i < nb_ostreams; i++) {
OutputStream *ost = &ost_table[i]; OutputStream *ost = &ost_table[i];