[FFmpeg-soc] [soc]: r651 - libavfilter/ffmpeg.diff

koorogi subversion at mplayerhq.hu
Thu Aug 9 17:29:24 CEST 2007


Author: koorogi
Date: Thu Aug  9 17:29:24 2007
New Revision: 651

Log:
Use correct time base


Modified:
   libavfilter/ffmpeg.diff

Modified: libavfilter/ffmpeg.diff
==============================================================================
--- libavfilter/ffmpeg.diff	(original)
+++ libavfilter/ffmpeg.diff	Thu Aug  9 17:29:24 2007
@@ -237,8 +237,8 @@ Index: ffplay.c
 -        if (got_picture) {
 -            if (output_picture2(is, frame, pts) < 0)
 +        /* put pts into milliseconds */
-+        *pts = 1000 * (*pts) * is->video_st->codec->time_base.num /
-+                               is->video_st->codec->time_base.den;
++        *pts = 1000 * (*pts) * is->video_st->time_base.num /
++                               is->video_st->time_base.den;
 +
 +        av_free_packet(pkt);
 +        if(got_picture)



More information about the FFmpeg-soc mailing list