[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.118,1.119

Michael Niedermayer CVS michael
Fri May 6 16:36:17 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv11856

Modified Files:
	h264.c 
Log Message:
set time_base for variable fps too


Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- h264.c	5 May 2005 14:17:28 -0000	1.118
+++ h264.c	6 May 2005 14:36:15 -0000	1.119
@@ -3847,7 +3847,7 @@
         if(!s->avctx->sample_aspect_ratio.den)
             s->avctx->sample_aspect_ratio.den = 1;
 
-        if(h->sps.timing_info_present_flag && h->sps.fixed_frame_rate_flag){
+        if(h->sps.timing_info_present_flag){
             s->avctx->time_base= (AVRational){h->sps.num_units_in_tick, h->sps.time_scale};
         }
     }





More information about the ffmpeg-cvslog mailing list