summaryrefslogtreecommitdiff
path: root/src/gen6_mfc.c
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2013-05-09 13:53:50 +0800
committerYakui Zhao <yakui.zhao@intel.com>2013-05-09 13:53:50 +0800
commitcdf8de02d41f5bc9f45f74861393beaa429d184e (patch)
tree16a22df0f99b82304335727e43d4952500377756 /src/gen6_mfc.c
parent3e913422baae63a92c1e2b303adae1c7dec593a6 (diff)
downloadlibva-intel-driver-cdf8de02d41f5bc9f45f74861393beaa429d184e.tar.gz
libva-intel-driver-cdf8de02d41f5bc9f45f74861393beaa429d184e.tar.bz2
libva-intel-driver-cdf8de02d41f5bc9f45f74861393beaa429d184e.zip
PAK encoding uses the reference list parsed from slice_param instead of hacked DPB
Of course it still can work if the slice_param doesn't contain the valid REfPicList0/1(Hacked DPB mode). This is to be compatible with the older version of avcenc tool. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Diffstat (limited to 'src/gen6_mfc.c')
-rw-r--r--src/gen6_mfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen6_mfc.c b/src/gen6_mfc.c
index 8515253..883a42b 100644
--- a/src/gen6_mfc.c
+++ b/src/gen6_mfc.c
@@ -611,7 +611,7 @@ static void gen6_mfc_avc_pipeline_picture_programing( VADriverContextP ctx,
mfc_context->avc_qm_state(ctx, encoder_context);
mfc_context->avc_fqm_state(ctx, encoder_context);
gen6_mfc_avc_directmode_state(ctx, encoder_context);
- intel_mfc_avc_ref_idx_state(ctx, encoder_context);
+ intel_mfc_avc_ref_idx_state(ctx, encode_state, encoder_context);
}