summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorYuqing Zhu <carol.zhu@nxp.com>2016-10-13 09:59:49 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-10-27 10:36:28 -0200
commit5bf09940cd9a3cbf7888c5c610e35d53b237387d (patch)
treec9b9d4327f90792fe13433e0279d82bad30d4fac /recipes-multimedia
parent0239e66b63f06d0573229d3f01a3a4cf76f3997d (diff)
downloadmeta-freescale-5bf09940cd9a3cbf7888c5c610e35d53b237387d.tar.gz
gstreamer1.0-plugins-bad: Change wayland default res to 1024x768
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>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-glplugin-Change-wayland-default-res-to-1024x768.patch42
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend5
2 files changed, 47 insertions, 0 deletions
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
index 00000000..ee1cffbb
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-glplugin-Change-wayland-default-res-to-1024x768.patch
@@ -0,0 +1,42 @@
1From bb2db3bb88e1f72b611c1ae1cc4854bf570daac8 Mon Sep 17 00:00:00 2001
2From: Jian <Jian.Li@freescale.com>
3Date: Tue, 17 Nov 2015 14:39:07 +0800
4Subject: [PATCH 10/18] [glplugin] Change wayland default res to 1024x768
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Change wayland backend default window resolution
10from 320x240 to 1024x768
11
12Upstream-Status: Inappropriate [i.MX specific]
13
14Signed-off-by: Jian <Jian.Li@freescale.com>
15Signed-off-by: Lyon Wang <lyon.wang@freescale.com>
16---
17 gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
21index 6e1f0c5..48b37a2 100644
22--- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
23+++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c
24@@ -305,13 +305,13 @@ create_surfaces (GstGLWindowWaylandEGL * window_egl)
25 if (window_egl->window.window_width > 0)
26 width = window_egl->window.window_width;
27 else
28- width = 320;
29+ width = 1024;
30 window_egl->window.window_width = width;
31
32 if (window_egl->window.window_height > 0)
33 height = window_egl->window.window_height;
34 else
35- height = 240;
36+ height = 768;
37 window_egl->window.window_height = height;
38
39 if (!window_egl->window.native) {
40--
411.9.1
42
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 67dc1f77..98e8d144 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -1,5 +1,6 @@
1# Vivante EGL headers require the correct preprocessor 1# Vivante EGL headers require the correct preprocessor
2# defines to be set for each platform 2# defines to be set for each platform
3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
3 4
4CFLAGS_append_mx6 = " -DLINUX \ 5CFLAGS_append_mx6 = " -DLINUX \
5 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ 6 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
@@ -9,4 +10,8 @@ PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
9 bb.utils.contains('DISTRO_FEATURES', 'x11', \ 10 bb.utils.contains('DISTRO_FEATURES', 'x11', \
10 'opengl', '', d), '', d)}" 11 'opengl', '', d), '', d)}"
11 12
13SRC_URI_append = " file://0001-glplugin-Change-wayland-default-res-to-1024x768.patch \
14"
15
16
12PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" 17PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"