mx6: video playback using the coda driver

Philipp Zabel p.zabel at pengutronix.de
Mon Oct 9 14:18:12 UTC 2017


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?

regards
Philipp


More information about the gstreamer-devel mailing list