Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-08 20:26:06 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-02-08 20:26:06 +0400
commitfba318a4b02faf7b591dd941f0857db2ea1b3a8f (patch)
treef10957a8391d9bc54bece181cc5388e67dcfe8c0 /ffmpeg.c
parent160008a60f464bfade4495698beedb18c8f11d42 (diff)
ffmpeg: update (next_)pts in the stream copy case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 63749e6fac..d2cbd031bb 100644
--- a/ffmpeg.c
+++ b/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];