mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
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
This commit is contained in:
parent
37c670e235
commit
753c423784
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue