From: Julien Isorce Date: Thu, 24 Apr 2014 14:17:41 +0000 (+0100) Subject: gl/rpi: do not scale to full screen X-Git-Tag: 1.19.3~507^2~11327 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b92b86bdd99a7cc3d286c094e07f60136acd427c;p=platform%2Fupstream%2Fgstreamer.git gl/rpi: do not scale to full screen Having a 640x360 movie being scaled to 1900x1200 does not look nice --- diff --git a/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c b/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c index 62b1aba..6533835 100644 --- a/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c +++ b/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c @@ -248,7 +248,7 @@ window_resize (GstGLWindowDispmanxEGL * window_egl, guint width, guint height) dst.w = window_egl->dp_width; dst.h = window_egl->dp_height; 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.y = res.y;