diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2013-10-08 11:22:46 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-02-27 10:22:33 +0800 |
commit | 6ea484e94c5b42c87f8121275264ea62a2ff54d2 (patch) | |
tree | 8644116f930228f081a37557bac763c54cb8e90b /src | |
parent | 64f3dd08a5a1756a386b4120da8e0401373d7044 (diff) | |
download | libva-intel-driver-6ea484e94c5b42c87f8121275264ea62a2ff54d2.tar.gz libva-intel-driver-6ea484e94c5b42c87f8121275264ea62a2ff54d2.tar.bz2 libva-intel-driver-6ea484e94c5b42c87f8121275264ea62a2ff54d2.zip |
Fix refrence frame for list1 on BDW
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gen8_vme.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gen8_vme.c b/src/gen8_vme.c index 12a3137..cb6f143 100644 --- a/src/gen8_vme.c +++ b/src/gen8_vme.c @@ -282,10 +282,9 @@ gen8_vme_surface_setup(VADriverContextP ctx, if (slice_obj_surface && slice_obj_surface->bo) { obj_surface = slice_obj_surface; } else { - obj_surface = encode_state->reference_objects[0]; + obj_surface = encode_state->reference_objects[1]; } - obj_surface = encode_state->reference_objects[1]; if (obj_surface && obj_surface->bo) gen8_vme_source_surface_state(ctx, 2, obj_surface, encoder_context); } |