From 6604d653000168467727c92e125c592ed3e77dea Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Tue, 21 Feb 2012 16:15:41 +0800 Subject: [PATCH] Fix sample code for VPP Signed-off-by: Xiang, Haihao --- va/va_vpp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/va/va_vpp.h b/va/va_vpp.h index dd986b4..46d29f4 100644 --- a/va/va_vpp.h +++ b/va/va_vpp.h @@ -76,7 +76,7 @@ extern "C" { * unsigned int num_filters = VAProcFilterCount; * * // num_filters shall be initialized to the length of the array - * vaQueryVideoProcFilters(va_dpy, vpp_ctx, &pipe_caps, &num_filters); + * vaQueryVideoProcFilters(va_dpy, vpp_ctx, &filters, &num_filters); * \endcode * * Finally, individual filter capabilities can be checked with @@ -196,7 +196,7 @@ extern "C" { * * vaCreateBuffer(va_dpy, vpp_ctx, * VAProcPipelineParameterBuffer, sizeof(*pipeline_param), 1, - * NULL, &pipeline_param + * NULL, &pipeline_buf * ); * * // Setup output region for this surface -- 2.7.4