From: golgol7777 Date: Tue, 27 Jul 2010 15:54:38 +0000 (+0900) Subject: Fix incorrect duration/framerate/bitrate in flv header X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=3e153343197ce41f116be600f6d7dd389c05f124;p=x264.git Fix incorrect duration/framerate/bitrate in flv header --- diff --git a/x264.c b/x264.c index 530ad4a8..4e9a1c77 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 ) {