Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D8BDAE00B30; Tue, 29 Mar 2016 00:07:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5EAD5E00948 for ; Tue, 29 Mar 2016 00:07:46 -0700 (PDT) Received: from [172.16.1.4] (chello062178118086.5.14.vie.surfer.at [62.178.118.86]) by ptmx.org (Postfix) with ESMTPSA id 7364724A6A; Tue, 29 Mar 2016 09:07:45 +0200 (CEST) To: Yuqing Zhu , meta-freescale@yoctoproject.org References: <1454421709-32063-1-git-send-email-b54851@freescale.com> <1454421709-32063-4-git-send-email-b54851@freescale.com> From: Carlos Rafael Giani Message-ID: <56FA29C1.4050305@pseudoterminal.org> Date: Tue, 29 Mar 2016 09:07:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1454421709-32063-4-git-send-email-b54851@freescale.com> Subject: Re: [meta-fsl-arm][PATCH v2 3/3] gstreamer1.0-plugins-bad: Change wayland default resolution to 1024x768 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 07:07:48 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit This gets an Ack from me. It doesn't break anything, and is truly i.MX specific. There may be i.MX devices with screens smaller than 1024x768, though to me this seems to be the minority. On 2016-02-02 15:01, Yuqing Zhu wrote: > In our release, the default display is full screen in LVDS. > The 1024x768 resolution will be better in testing for our > release platform. > > Signed-off-by: Yuqing Zhu > --- > ...in-Change-wayland-default-res-to-1024x768.patch | 41 ++++++++++++++++++++++ > .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 1 + > 2 files changed, 42 insertions(+) > create mode 100755 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glplugin-Change-wayland-default-res-to-1024x768.patch > > diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glplugin-Change-wayland-default-res-to-1024x768.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glplugin-Change-wayland-default-res-to-1024x768.patch > new file mode 100755 > index 0000000..49a0a9d > --- /dev/null > +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-glplugin-Change-wayland-default-res-to-1024x768.patch > @@ -0,0 +1,41 @@ > +From decc71a707d3b3596888d30a4c7ca25b57a686b2 Mon Sep 17 00:00:00 2001 > +From: Jian > +Date: Tue, 17 Nov 2015 14:39:07 +0800 > +Subject: [PATCH 2/3] [glplugin] Change wayland default res to 1024x768 > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +Change wayland backend default window resolution > +from 320x240 to 1024x768 > + > +Upstream-Status: Inappropriate [i.MX specific] > + > +Signed-off-by: Jian > +--- > + gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c > +index b34ad42..b557daa 100644 > +--- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c > ++++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c > +@@ -305,13 +305,13 @@ create_surfaces (GstGLWindowWaylandEGL * window_egl) > + if (window_egl->window.window_width > 0) > + width = window_egl->window.window_width; > + else > +- width = 320; > ++ width = 1024; > + window_egl->window.window_width = width; > + > + if (window_egl->window.window_height > 0) > + height = window_egl->window.window_height; > + else > +- height = 240; > ++ height = 768; > + window_egl->window.window_height = height; > + > + if (!window_egl->window.native) { > +-- > +1.7.9.5 > + > diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend > index 9ce22eb..ea66be9 100644 > --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend > +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend > @@ -13,6 +13,7 @@ PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \ > IMX_PATCHES = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch \ > file://0002-glplugin-Add-directviv-to-glimagesink-to-improve-playback-performance.patch \ > file://0003-glplugin-support-video-crop-for-glimagesink.patch \ > + file://0004-glplugin-Change-wayland-default-res-to-1024x768.patch \ > " > > SRC_URI_append_mx6 = "${IMX_PATCHES}"