mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
gl/rpi: do not scale to full screen
Having a 640x360 movie being scaled to 1900x1200 does not look nice
This commit is contained in:
parent
7a77d435c1
commit
c9d2f8ee94
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ window_resize (GstGLWindowDispmanxEGL * window_egl, guint width, guint height)
|
||||||
dst.w = window_egl->dp_width;
|
dst.w = window_egl->dp_width;
|
||||||
dst.h = window_egl->dp_height;
|
dst.h = window_egl->dp_height;
|
||||||
dst.x = dst.y = 0;
|
dst.x = dst.y = 0;
|
||||||
gst_video_sink_center_rect (src, dst, &res, TRUE);
|
gst_video_sink_center_rect (src, dst, &res, FALSE);
|
||||||
|
|
||||||
dst_rect.x = res.x;
|
dst_rect.x = res.x;
|
||||||
dst_rect.y = res.y;
|
dst_rect.y = res.y;
|
||||||
|
|
Loading…
Reference in a new issue