diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-28 11:47:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-30 07:47:43 +0100 |
commit | 91b412e786055aec3c5b6529a0c9ecc70fde8a6d (patch) | |
tree | 17b8ad5f418a8de490b229e270222c5d4fa7a557 /avconv.c | |
parent | 464ccb01447b91717cf580b870e636514701ce4f (diff) | |
download | ffmpeg-91b412e786055aec3c5b6529a0c9ecc70fde8a6d.tar.gz |
avconv: update InputStream.pts in the streamcopy case.
This was broken in 2a651b719c309c5e2fc663a5a9d6ca36153ab98f.
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) / |