A hack patch : 0001-playbin-HACK-Change-default-value-of-flags.patch
needs to be added for low fps issue with playbin. Hence adding append file.

Signed-off-by: Pooja Prajod <[email protected]>
---
 ...laybin-HACK-Change-default-value-of-flags.patch | 30 ++++++++++++++++++++++
 .../gstreamer1.0-plugins-base_1.8.3.bbappend       |  6 +++++
 2 files changed, 36 insertions(+)
 create mode 100644 
meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch
 create mode 100644 
meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend

diff --git 
a/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch
 
b/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch
new file mode 100644
index 0000000..16e7668
--- /dev/null
+++ 
b/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch
@@ -0,0 +1,30 @@
+From 436543acab9441ebb121da74b6433eae43bc8786 Mon Sep 17 00:00:00 2001
+From: Pooja Prajod <[email protected]>
+Date: Fri, 24 Mar 2017 18:24:15 +0530
+Subject: [gst-plugins-base] playbin HACK: Change default value of flags
+
+The deinterlace flag in playbin is causing
+high cpu load which in turn lowers fps of the playback.
+The behavior is not yet rootcaused. This is a workaround.
+
+Signed-off-by: Pooja Prajod <[email protected]>
+---
+ gst/playback/gstplaybin2.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
+index ad63600..13439e3 100644
+--- a/gst/playback/gstplaybin2.c
++++ b/gst/playback/gstplaybin2.c
+@@ -524,7 +524,7 @@ struct _GstPlayBinClass
+ #define DEFAULT_SUBURI            NULL
+ #define DEFAULT_SOURCE            NULL
+ #define DEFAULT_FLAGS             GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | 
GST_PLAY_FLAG_TEXT | \
+-                                  GST_PLAY_FLAG_SOFT_VOLUME | 
GST_PLAY_FLAG_DEINTERLACE | \
++                                  GST_PLAY_FLAG_SOFT_VOLUME | \
+                                   GST_PLAY_FLAG_SOFT_COLORBALANCE
+ #define DEFAULT_N_VIDEO           0
+ #define DEFAULT_CURRENT_VIDEO     -1
+-- 
+1.9.1
+
diff --git 
a/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
 
b/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
new file mode 100644
index 0000000..7cf6e3f
--- /dev/null
+++ 
b/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
@@ -0,0 +1,6 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_append = " \
+    file://0001-playbin-HACK-Change-default-value-of-flags.patch \
+"
+PR = "r4"
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to