test/encode/avcenc: Modify default direct mode.
authorZhou Chang <chang.zhou@intel.com>
Thu, 30 Jun 2011 02:07:24 +0000 (10:07 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 28 May 2013 08:46:47 +0000 (16:46 +0800)
Signed-off-by: Zhou Chang <chang.zhou@intel.com>
test/encode/avcenc.c

index e724969..69278cd 100644 (file)
@@ -306,7 +306,7 @@ static void avcenc_update_slice_parameter(int slice_type)
     slice_param->slice_height = picture_height_in_mbs/16; /* Measured by MB */
     slice_param->pic_parameter_set_id = 0;
     slice_param->slice_type = slice_type;
-    slice_param->direct_spatial_mv_pred_flag = 1;
+    slice_param->direct_spatial_mv_pred_flag = 0;
     slice_param->num_ref_idx_l0_active_minus1 = 0;      /* FIXME: ??? */
     slice_param->num_ref_idx_l1_active_minus1 = 0;
     slice_param->cabac_init_idc = 0;