<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 18 janv. 2018 8:08 AM, "Toon Heyrman" <<a href="mailto:toonheyrman@hotmail.com">toonheyrman@hotmail.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I discovered something extra:<br>
If I use a imxipuvideotransform in front of the videofilter and force the<br>
transform to take a copy of the buffer by setting the output caps a little<br>
bit different (height from 768px to 752px), it works always.<br>
So there is definitely something going wrong with the buffers.<br>
<div class="quoted-text"><br>
> That's sounds like a missing cache flush on map. This is on the<br>
> gstreamer-imx side though, as this should be handled by the GstMemory<br>
> implementation when the buffer is mapped.<br>
<br>
</div>To flush the map shall we use msync?<br>
And is it right after the mmap?<br>
<a href="https://github.com/Freescale/gstreamer-imx/blob/master/src/v4l2video/v4l2_buffer_pool.c#L174" rel="noreferrer" target="_blank">https://github.com/Freescale/<wbr>gstreamer-imx/blob/master/src/<wbr>v4l2video/v4l2_buffer_pool.c#<wbr>L174</a><br>
<<a href="https://github.com/Freescale/gstreamer-imx/blob/master/src/v4l2video/v4l2_buffer_pool.c#L174" rel="noreferrer" target="_blank">https://github.com/Freescale/<wbr>gstreamer-imx/blob/master/src/<wbr>v4l2video/v4l2_buffer_pool.c#<wbr>L174</a>><br>
<div class="elided-text"><br>
</div></blockquote></div></div></div><div dir="auto">I don't know, this is NXP specific. This could be done right before returning from map. Though, in most other drivers, this is done in the driver implicitly.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text"><br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></blockquote></div><br></div></div></div>