]> git.sesse.net Git - x264/commitdiff
Fix incorrect duration/framerate/bitrate in flv header
authorgolgol7777 <golgol7777@gmail.com>
Tue, 27 Jul 2010 15:54:38 +0000 (00:54 +0900)
committerFiona Glaser <fiona@x264.com>
Thu, 29 Jul 2010 02:30:29 +0000 (19:30 -0700)
x264.c

diff --git a/x264.c b/x264.c
index 530ad4a8af1efaed584c8c4403471ef4f9e60b9b..4e9a1c778025430241c3386e4253b3ebdffa626d 100644 (file)
--- a/x264.c
+++ b/x264.c
@@ -1727,7 +1727,7 @@ static int  Encode( x264_param_t *param, cli_opt_t *opt )
     }
 
     filter.free( opt->hin );
-    output.close_file( opt->hout, largest_pts, second_largest_pts );
+    output.close_file( opt->hout, largest_pts * dts_compress_multiplier, second_largest_pts * dts_compress_multiplier );
 
     if( i_frame_output > 0 )
     {