Commit fba318a4 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 160008a6
...@@ -2318,6 +2318,8 @@ static int output_packet(InputStream *ist, ...@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment