test/encode/avcenc: use kbps as fb input
authorHai Lan <hai.lan@intel.com>
Thu, 25 Aug 2011 07:37:46 +0000 (15:37 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 22 Feb 2012 02:01:24 +0000 (10:01 +0800)
Signed-off-by: Hai Lan <hai.lan@intel.com>
test/encode/avcenc.c

index f57f418..2ca379c 100644 (file)
@@ -1142,7 +1142,7 @@ static void avcenc_context_seq_param_init(VAEncSequenceParameterBufferH264Ext *s
     }
 
     if (frame_bit_rate > 0)
-        seq_param->bits_per_second = 30 * frame_bit_rate;
+        seq_param->bits_per_second = 1024 * frame_bit_rate; /* use kbps as input */
     else
         seq_param->bits_per_second = 0;