[meta-freescale] [meta-fsl-arm][PATCH 6/9] gstreamer1.0-plugins-bad: Change wayland default res to 1024x768

Yuqing Zhu carol.zhu at nxp.com
Thu Jan 28 22:41:31 PST 2016


Hi Carlos,
   
      As in our release, the default display is full screen in LVDS, and 1024x768 resolution will be better in testing for our released platform.



B.R.
Yuqing Zhu


-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Carlos Rafael Giani
Sent: Wednesday, January 27, 2016 8:24 PM
To: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-arm][PATCH 6/9] gstreamer1.0-plugins-bad: Change wayland default res to 1024x768

Could you add an explanation to the commit message why you increase the default resolution?

On 01/27/2016 10:41 AM, Yuqing Zhu wrote:
> Change wayland backend default window resolution from 320x240 to 
> 1024x768.
>
> Signed-off-by: Yuqing Zhu <b54851 at freescale.com>
> ---
>   ...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/0007-glplugin-Ch
> ange-wayland-default-res-to-1024x768.patch
>
> diff --git 
> a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-glplugin-
> Change-wayland-default-res-to-1024x768.patch 
> b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-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/0007-glplu
> +++ gin-Change-wayland-default-res-to-1024x768.patch
> @@ -0,0 +1,41 @@
> +From decc71a707d3b3596888d30a4c7ca25b57a686b2 Mon Sep 17 00:00:00 
> +2001
> +From: Jian <Jian.Li at freescale.com>
> +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 <Jian.Li at freescale.com>
> +---
> + 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 b290423..40be87a 100644
> --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> @@ -16,6 +16,7 @@ IMX_PATCHES = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h
>                   file://0004-glplugin-Add-directviv-to-glimagesink-to-improve-playback-performance.patch \
>                   file://0005-glplugin-support-video-crop-for-glimagesink.patch \
>                   
> file://0006-glplugin-Support-fb-backend-for-gl-plugins.patch \
> +                
> + file://0007-glplugin-Change-wayland-default-res-to-1024x768.patch \
>   "
>   
>   SRC_URI_append_mx6 = "${IMX_PATCHES}"

--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list