[Libva] [PATCH 18/24] Fix sample code for VPP

Xiang, Haihao haihao.xiang at intel.com
Mon May 13 01:19:21 PDT 2013


Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
 va/va_vpp.h |    4 ++--
 1 files 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
-- 
1.7.4.1



More information about the Libva mailing list