changeset 2328:3569ee98f2e2 libavformat

write correct time_base
author michael
date Thu, 09 Aug 2007 11:06:54 +0000
parents 768d27bac3c1
children 57a352c5b051
files nutenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nutenc.c	Thu Aug 09 11:04:43 2007 +0000
+++ b/nutenc.c	Thu Aug 09 11:06:54 2007 +0000
@@ -343,7 +343,7 @@
         }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);