<div dir="ltr"><div><div><div>Hi Christian,<br><br></div>Would you mind to push this patch ? Thx<br><br></div>Cheers<br></div>Julien<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 October 2015 at 14: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"><span class="">On 23.10.2015 14:25, Julien Isorce wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At least vl_mpeg12_decoder uses the picture<br>
desc in begin_frame and decode_bitstream.<br>
<br>
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=92634" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=92634</a><br>
<br>
Signed-off-by: Julien Isorce <<a href="mailto:j.isorce@samsung.com" target="_blank">j.isorce@samsung.com</a>><br>
</blockquote>
<br></span>
Reviewed-by: Christian König <<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>><span class="im HOEnZb"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
src/gallium/state_trackers/va/picture.c | 4 ++--<br>
1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c<br>
index 9b94b39..a0d530b 100644<br>
--- a/src/gallium/state_trackers/va/picture.c<br>
+++ b/src/gallium/state_trackers/va/picture.c<br>
@@ -58,7 +58,7 @@ vlVaBeginPicture(VADriverContextP ctx, VAContextID context_id, VASurfaceID rende<br>
return VA_STATUS_ERROR_INVALID_SURFACE;<br>
context->target = surf->buffer;<br>
- context->decoder->begin_frame(context->decoder, context->target, NULL);<br>
+ context->decoder->begin_frame(context->decoder, context->target, &context->desc.base);<br>
return VA_STATUS_SUCCESS;<br>
}<br>
@@ -517,7 +517,7 @@ handleVASliceDataBufferType(vlVaContext *context, vlVaBuffer *buf)<br>
buffers[num_buffers] = buf->data;<br>
sizes[num_buffers] = buf->size;<br>
++num_buffers;<br>
- context->decoder->decode_bitstream(context->decoder, context->target, NULL,<br>
+ context->decoder->decode_bitstream(context->decoder, context->target, &context->desc.base,<br>
num_buffers, (const void * const*)buffers, sizes);<br>
}<br>
<br>
</blockquote>
<br></span><div class="HOEnZb"><div class="h5">
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">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>
</div></div></blockquote></div><br></div>