42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
From 019b7942e2ba756ef65fa7ec3b5bd9ffa310af1e Mon Sep 17 00:00:00 2001
|
||
From: Jian <Jian.Li@freescale.com>
|
||
Date: Tue, 17 Nov 2015 14:39:07 +0800
|
||
Subject: [PATCH 07/26] 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>
|
||
---
|
||
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 933ddfe..1930585 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
|
||
|