ffmpeg: update (next_)pts in the stream copy case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
160008a60f
commit
fba318a4b0
1 changed files with 2 additions and 0 deletions
2
ffmpeg.c
2
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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue