mx6: video playback using the coda driver

Nicolas Dufresne nicolas at ndufresne.ca
Mon Oct 9 18:29:49 UTC 2017


Le 9 oct. 2017 10:25 AM, "Philipp Zabel" <p.zabel at pengutronix.de> a écrit :

On Mon, 2017-10-09 at 11:03 -0300, Fabio Estevam wrote:
> Actually the LVDS resolution is 1024x768 and the video resolution is
> 1920x1080.
[...]
> gstkmssink.c:1318:gst_kms_sink_show_frame:<kmssink0> result = { 0, 0,
> 1024, 768} / src = { 0, 0, 1920 1080 } / dst = { 0, 0, 1024 768 }

Unfortunately kmssink doesn't recognize during negotiation that the
overlay plane can't scale. For upscaling this is 'handled' by just
falling back to a centered, unscaled plane. For downscaling this fails,
as the unscaled frame is too large to be displayed.

I suppose what kmssink could do is check the display resolution and
crop to that during show_frame if the first try failed?


Yes.


regards
Philipp
_______________________________________________
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/20171009/03431452/attachment.html>


More information about the gstreamer-devel mailing list