-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gstreamer1.0-plugins-bad: change glimagesink rank to marginal
[YOCTO #7787] (From OE-Core rev: ab1bb8db62df4246c2ed3a3135d6d71003ee9386) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-glimagesink-Downrank-to-marginal.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From c6b37a80806f9128de47f1ccc3f2354f8d436bb6 Mon Sep 17 00:00:00 2001 | ||
From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
Date: Thu, 24 Sep 2015 19:47:32 +0300 | ||
Subject: [PATCH] glimagesink: Downrank to marginal | ||
|
||
On desktop, where there is good OpenGL, xvimagesink will come up first, | ||
on other platforms, OpenGL can't be trusted because it's either software (like | ||
in a VM) or broken (like on embedded)., so let ximagesink come above. | ||
|
||
Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=751684] | ||
|
||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
--- | ||
ext/gl/gstopengl.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/ext/gl/gstopengl.c b/ext/gl/gstopengl.c | ||
index a4b2540..0ccaacd 100644 | ||
--- a/ext/gl/gstopengl.c | ||
+++ b/ext/gl/gstopengl.c | ||
@@ -101,7 +101,7 @@ plugin_init (GstPlugin * plugin) | ||
#endif | ||
|
||
if (!gst_element_register (plugin, "glimagesink", | ||
- GST_RANK_SECONDARY, GST_TYPE_GLIMAGE_SINK)) { | ||
+ GST_RANK_MARGINAL, GST_TYPE_GLIMAGE_SINK)) { | ||
return FALSE; | ||
} | ||
|
||
-- | ||
2.1.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters