[FFmpeg-cvslog] r10011 - trunk/libavformat/nutenc.c

michael subversion
Thu Aug 9 13:06:54 CEST 2007


Author: michael
Date: Thu Aug  9 13:06:54 2007
New Revision: 10011

Log:
write correct time_base


Modified:
   trunk/libavformat/nutenc.c

Modified: trunk/libavformat/nutenc.c
==============================================================================
--- trunk/libavformat/nutenc.c	(original)
+++ trunk/libavformat/nutenc.c	Thu Aug  9 13:06:54 2007
@@ -343,7 +343,7 @@ static int write_header(AVFormatContext 
         }else
             return -1;
 
-        put_v(bc, 0); //FIXME
+        put_v(bc, (nut->stream[i].time_base - nut->time_base)/sizeof(AVRational));
         put_v(bc, nut->stream[i].msb_pts_shift);
         put_v(bc, nut->stream[i].max_pts_distance);
         put_v(bc, codec->has_b_frames);




More information about the ffmpeg-cvslog mailing list