[FFmpeg-cvslog] r13963 - trunk/ffmpeg.c

michael subversion
Wed Jun 25 15:46:06 CEST 2008


Author: michael
Date: Wed Jun 25 15:46:06 2008
New Revision: 13963

Log:
Use correct timestamp value for stream copy.


Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Wed Jun 25 15:46:06 2008
@@ -1339,7 +1339,7 @@ static int output_packet(AVInputStream *
                             opkt.pts= AV_NOPTS_VALUE;
 
                         if (pkt->dts == AV_NOPTS_VALUE)
-                            opkt.dts = av_rescale_q(ist->next_pts, AV_TIME_BASE_Q, ost->st->time_base);
+                            opkt.dts = av_rescale_q(ist->pts, AV_TIME_BASE_Q, ost->st->time_base);
                         else
                             opkt.dts = av_rescale_q(pkt->dts, ist->st->time_base, ost->st->time_base);
 




More information about the ffmpeg-cvslog mailing list