[x264-devel] commit: Fix incorrect duration/framerate/bitrate in flv header (golgol7777 )

git at videolan.org git at videolan.org
Thu Jul 29 08:17:07 CEST 2010


x264 | branch: stable | golgol7777 <golgol7777 at gmail.com> | Wed Jul 28 00:54:38 2010 +0900| [3e153343197ce41f116be600f6d7dd389c05f124] | committer: Jason Garrett-Glaser 

Fix incorrect duration/framerate/bitrate in flv header

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=3e153343197ce41f116be600f6d7dd389c05f124
---

 x264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/x264.c b/x264.c
index 530ad4a..4e9a1c7 100644
--- 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 )
     {



More information about the x264-devel mailing list