diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-05-30 09:18:59 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-05-30 09:18:59 +0800 |
commit | 479ac13c1499793332cce4a555317f7ab228abf7 (patch) | |
tree | 372b2b50d8c6cc14db9fa85cbcc36beb94fc3e65 | |
parent | 22f5a551886eab456bb078157286d2dc24dd127e (diff) | |
download | vaapi-intel-driver-479ac13c1499793332cce4a555317f7ab228abf7.tar.gz vaapi-intel-driver-479ac13c1499793332cce4a555317f7ab228abf7.tar.bz2 vaapi-intel-driver-479ac13c1499793332cce4a555317f7ab228abf7.zip |
clear background under right context
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rwxr-xr-x | src/i965_post_processing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c index 98bbfa9..b6038d2 100755 --- a/src/i965_post_processing.c +++ b/src/i965_post_processing.c @@ -4315,7 +4315,7 @@ i965_proc_picture(VADriverContextP ctx, obj_surface = SURFACE(proc_state->current_render_target); i965_check_alloc_surface_bo(ctx, obj_surface, !!tiling, VA_FOURCC('N','V','1','2'), SUBSAMPLE_YUV420); - i965_vpp_clear_surface(ctx, i965->pp_context, proc_state->current_render_target, pipeline_param->output_background_color); + i965_vpp_clear_surface(ctx, &proc_context->pp_context, proc_state->current_render_target, pipeline_param->output_background_color); for (i = 0; i < pipeline_param->num_filters; i++) { struct object_buffer *obj_buffer = BUFFER(pipeline_param->filters[i]); |