<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 9 oct. 2017 10:25 AM, "Philipp Zabel" <<a href="mailto:p.zabel@pengutronix.de">p.zabel@pengutronix.de</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Mon, 2017-10-09 at 11:03 -0300, Fabio Estevam wrote:<br>
> Actually the LVDS resolution is 1024x768 and the video resolution is<br>
> 1920x1080.<br>
</div>[...]<br>
<div class="quoted-text">> gstkmssink.c:1318:gst_kms_<wbr>sink_show_frame:<kmssink0> result = { 0, 0,<br>
> 1024, 768} / src = { 0, 0, 1920 1080 } / dst = { 0, 0, 1024 768 }<br>
<br>
</div>Unfortunately kmssink doesn't recognize during negotiation that the<br>
overlay plane can't scale. For upscaling this is 'handled' by just<br>
falling back to a centered, unscaled plane. For downscaling this fails,<br>
as the unscaled frame is too large to be displayed.<br>
<br>
I suppose what kmssink could do is check the display resolution and<br>
crop to that during show_frame if the first try failed?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Yes.</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">
<br>
regards<br>
<font color="#888888">Philipp<br>
</font><div class="elided-text">______________________________<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>