v2:follow Haihao's comments and mast the user's setting for scaling Signed-off-by: Qu,Pengfei <pengfei...@intel.com> --- src/i965_post_processing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c index a1c0e4d..849fbe1 100755 --- a/src/i965_post_processing.c +++ b/src/i965_post_processing.c @@ -5966,7 +5966,7 @@ i965_proc_picture(VADriverContextP ctx, intel_batchbuffer_flush(hw_context->batch); saved_filter_flag = i965pp_context->filter_flags; - i965pp_context->filter_flags = VA_FILTER_SCALING_HQ; + i965pp_context->filter_flags = (pipeline_param->filter_flags&VA_FILTER_SCALING_MASK); dst_surface.base = (struct object_base *)obj_surface; dst_surface.type = I965_SURFACE_TYPE_SURFACE; -- 1.9.1 _______________________________________________ Libva mailing list Libva@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libva