From 91b412e786055aec3c5b6529a0c9ecc70fde8a6d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 28 Nov 2011 11:47:02 +0100 Subject: avconv: update InputStream.pts in the streamcopy case. This was broken in 2a651b719c309c5e2fc663a5a9d6ca36153ab98f. --- avconv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'avconv.c') diff --git a/avconv.c b/avconv.c index 4c5498ad93..067678d637 100644 --- a/avconv.c +++ b/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) / -- cgit v1.2.3