Text overlays don't work on i.MX6 in certain pipelines

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jan 18 13:36:31 UTC 2018


Le 18 janv. 2018 8:08 AM, "Toon Heyrman" <toonheyrman at hotmail.com> a écrit :

I discovered something extra:
If I use a imxipuvideotransform in front of the videofilter and force the
transform to take a copy of the buffer by setting the output caps a little
bit different (height from 768px to 752px), it works always.
So there is definitely something going wrong with the buffers.

> That's sounds like a missing cache flush on map. This is on the
> gstreamer-imx side though, as this should be handled by the GstMemory
> implementation when the buffer is mapped.

To flush the map shall we use msync?
And is it right after the mmap?
https://github.com/Freescale/gstreamer-imx/blob/master/src/
v4l2video/v4l2_buffer_pool.c#L174
<https://github.com/Freescale/gstreamer-imx/blob/master/src/
v4l2video/v4l2_buffer_pool.c#L174>

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.





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180118/1ea37f30/attachment.html>


More information about the gstreamer-devel mailing list