<div dir="ltr">This patch is:<br>Reviewed-by: Julien Isorce <<a href="mailto:j.isorce@samsung.com">j.isorce@samsung.com</a>><br>Tested-by: ulien Isorce <<a href="mailto:j.isorce@samsung.com">j.isorce@samsung.com</a>></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 December 2015 at 12:33, Christian König <span dir="ltr"><<a href="mailto:deathsimple@vodafone.de" target="_blank">deathsimple@vodafone.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>><br>
<br>
Signed-off-by: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>><br>
---<br>
src/gallium/state_trackers/va/surface.c | 8 ++++----<br>
1 file changed, 4 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c<br>
index c052c8f..4a18a6f 100644<br>
--- a/src/gallium/state_trackers/va/surface.c<br>
+++ b/src/gallium/state_trackers/va/surface.c<br>
@@ -697,11 +697,11 @@ vlVaQueryVideoProcFilterCaps(VADriverContextP ctx, VAContextID context,<br>
return VA_STATUS_SUCCESS;<br>
}<br>
<br>
-static VAProcColorStandardType vpp_input_color_standards[VAProcColorStandardCount] = {<br>
+static VAProcColorStandardType vpp_input_color_standards[] = {<br>
VAProcColorStandardBT601<br>
};<br>
<br>
-static VAProcColorStandardType vpp_output_color_standards[VAProcColorStandardCount] = {<br>
+static VAProcColorStandardType vpp_output_color_standards[] = {<br>
VAProcColorStandardBT601<br>
};<br>
<br>
@@ -725,9 +725,9 @@ vlVaQueryVideoProcPipelineCaps(VADriverContextP ctx, VAContextID context,<br>
pipeline_cap->filter_flags = 0;<br>
pipeline_cap->num_forward_references = 0;<br>
pipeline_cap->num_backward_references = 0;<br>
- pipeline_cap->num_input_color_standards = 1;<br>
+ pipeline_cap->num_input_color_standards = Elements(vpp_input_color_standards);<br>
pipeline_cap->input_color_standards = vpp_input_color_standards;<br>
- pipeline_cap->num_output_color_standards = 1;<br>
+ pipeline_cap->num_output_color_standards = Elements(vpp_output_color_standards);<br>
pipeline_cap->output_color_standards = vpp_output_color_standards;<br>
<br>
for (i = 0; i < num_filters; i++) {<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.5.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>