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

View File

@ -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];