summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2016-09-08 11:23:57 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2016-09-08 13:23:35 -0400
commit753c423784a3f24c217e37770272499449c8af61 (patch)
tree20cb1624d007097db202da5099de606316ca5c02 /sys
parent37c670e235126528c631f58f819030682a6d64e3 (diff)
downloadgstreamer-plugins-bad-753c423784a3f24c217e37770272499449c8af61.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/kms/gstkmssink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kms/gstkmssink.c b/sys/kms/gstkmssink.c
index 8057429fa..8508b0d10 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;