blob: f45ea65ef33fbe9ad60e02a391ebf1f2a391caef [file] [log] [blame]
Andrew Geissler6ce62a22020-11-30 19:58:47 -06001From 79841a02ee754eba736cb32aaf2ed2b2fc0483d4 Mon Sep 17 00:00:00 2001
Patrick Williamsc0f7c042017-02-23 20:41:17 -06002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 24 Sep 2015 19:47:32 +0300
Andrew Geissler6ce62a22020-11-30 19:58:47 -06004Subject: [PATCH 4/4] glimagesink: Downrank to marginal
Patrick Williamsc0f7c042017-02-23 20:41:17 -06005
6On desktop, where there is good OpenGL, xvimagesink will come up first,
7on other platforms, OpenGL can't be trusted because it's either software (like
8in a VM) or broken (like on embedded)., so let ximagesink come above.
9
10Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=751684]
11
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13---
14 ext/gl/gstopengl.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/ext/gl/gstopengl.c b/ext/gl/gstopengl.c
Andrew Geissler6ce62a22020-11-30 19:58:47 -060018index 302e845..463be9c 100644
Patrick Williamsc0f7c042017-02-23 20:41:17 -060019--- a/ext/gl/gstopengl.c
20+++ b/ext/gl/gstopengl.c
Brad Bishop15ae2502019-06-18 21:44:24 -040021@@ -127,7 +127,7 @@ plugin_init (GstPlugin * plugin)
Patrick Williamsc0f7c042017-02-23 20:41:17 -060022 #endif
23
24 if (!gst_element_register (plugin, "glimagesink",
25- GST_RANK_SECONDARY, gst_gl_image_sink_bin_get_type ())) {
26+ GST_RANK_MARGINAL, gst_gl_image_sink_bin_get_type ())) {
27 return FALSE;
28 }
29
30--
Andrew Geissler6ce62a22020-11-30 19:58:47 -0600312.28.0
Patrick Williamsc0f7c042017-02-23 20:41:17 -060032