From 8cc3ad0b7f71eb00b244b86714dcbbb3259f253f Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Thu, 8 Sep 2016 11:23:57 -0400 Subject: [PATCH 6/9] kmssink: Scale up to the screen dimension In most display sink, the logic is to use as much as possible of the given window. In this case, the window is the screen, hence it's logical to scale up. https://bugzilla.gnome.org/show_bug.cgi?id=767422 Upstream Status: Backport --- sys/kms/gstkmssink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kms/gstkmssink.c b/sys/kms/gstkmssink.c index 286e288..be990f3 100644 --- a/sys/kms/gstkmssink.c +++ b/sys/kms/gstkmssink.c @@ -1102,7 +1102,7 @@ gst_kms_sink_show_frame (GstVideoSink * vsink, GstBuffer * buf) dst.w = self->hdisplay; dst.h = self->vdisplay; - gst_video_sink_center_rect (src, dst, &result, FALSE); + gst_video_sink_center_rect (src, dst, &result, TRUE); if (crop) { src.w = crop->width; -- 2.7.4