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:
parent
160008a60f
commit
fba318a4b0
2
ffmpeg.c
2
ffmpeg.c
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user