diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-09-08 11:23:57 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-09-08 13:23:35 -0400 |
commit | 753c423784a3f24c217e37770272499449c8af61 (patch) | |
tree | 20cb1624d007097db202da5099de606316ca5c02 /sys | |
parent | 37c670e235126528c631f58f819030682a6d64e3 (diff) | |
download | gstreamer-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.c | 2 |
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; |