changeset 2648:c3a06b0b00e2 libavcodec

set time_base for variable fps too
author michael
date Fri, 06 May 2005 14:36:15 +0000
parents ac78b35aa838
children b2e6c5e9240b
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Thu May 05 20:05:41 2005 +0000
+++ b/h264.c	Fri May 06 14:36:15 2005 +0000
@@ -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};
         }
     }