From 3e153343197ce41f116be600f6d7dd389c05f124 Mon Sep 17 00:00:00 2001 From: golgol7777 Date: Wed, 28 Jul 2010 00:54:38 +0900 Subject: [PATCH] Fix incorrect duration/framerate/bitrate in flv header --- x264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.47.3