mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avconv: update InputStream.pts in the streamcopy case.
This was broken in 2a651b719c309c5e2fc663a5a9d6ca36153ab98f.
This commit is contained in:
parent
464ccb0144
commit
91b412e786
1
avconv.c
1
avconv.c
@ -1906,6 +1906,7 @@ static int output_packet(InputStream *ist,
|
||||
/* handle stream copy */
|
||||
if (!ist->decoding_needed) {
|
||||
rate_emu_sleep(ist);
|
||||
ist->pts = ist->next_pts;
|
||||
switch (ist->st->codec->codec_type) {
|
||||
case AVMEDIA_TYPE_AUDIO:
|
||||
ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) /
|
||||
|
Loading…
x
Reference in New Issue
Block a user