]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-bad: Change wayland default res to 1024x768
authorYuqing Zhu <carol.zhu@nxp.com>
Thu, 13 Oct 2016 01:59:49 +0000 (09:59 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 27 Oct 2016 12:36:28 +0000 (10:36 -0200)
In our release, the default display is full screen in LVDS.
The 1024x768 resolution will be better in testing for our release platform.
So change it from 320x240 to 1024x768.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-glplugin-Change-wayland-default-res-to-1024x768.patch [new file with mode: 0644]
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-glplugin-Change-wayland-default-res-to-1024x768.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-glplugin-Change-wayland-default-res-to-1024x768.patch
new file mode 100644 (file)
index 0000000..ee1cffb
--- /dev/null
@@ -0,0 +1,42 @@
+From bb2db3bb88e1f72b611c1ae1cc4854bf570daac8 Mon Sep 17 00:00:00 2001
+From: Jian <Jian.Li@freescale.com>
+Date: Tue, 17 Nov 2015 14:39:07 +0800
+Subject: [PATCH 10/18] [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@freescale.com>
+Signed-off-by: Lyon Wang <lyon.wang@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 6e1f0c5..48b37a2 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.9.1
+
index 67dc1f777e78614539d041091af0f13a5ace8db9..98e8d144afc237d1b9ba24b5091696a30a3adbef 100644 (file)
@@ -1,5 +1,6 @@
 # Vivante EGL headers require the correct preprocessor
 # defines to be set for each platform
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 CFLAGS_append_mx6 = " -DLINUX \
                       ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
@@ -9,4 +10,8 @@ PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
                            bb.utils.contains('DISTRO_FEATURES', 'x11', \
                                     'opengl', '', d), '', d)}"
 
+SRC_URI_append = " file://0001-glplugin-Change-wayland-default-res-to-1024x768.patch \
+"
+
+
 PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"