All of lore.kernel.org
 help / color / mirror / Atom feed
* [morty gst-plugins-base] gst-plugin-base: Add bbappend for gst-base
@ 2017-03-24 13:45 Pooja Prajod
  2017-03-24 17:42 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Pooja Prajod @ 2017-03-24 13:45 UTC (permalink / raw)
  To: meta-arago; +Cc: Pooja Prajod

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 <a0132412@ti.com>
---
 ...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-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch
 create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend

diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch
new file mode 100644
index 0000000..321f281
--- /dev/null
+++ b/meta-arago-extras/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 <a0132412@ti.com>
+Date: Fri, 24 Mar 2017 18:24:15 +0530
+Subject: [morty 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 <a0132412@ti.com>
+---
+ 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-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
new file mode 100644
index 0000000..c1d437f
--- /dev/null
+++ b/meta-arago-extras/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 = "r3"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [morty gst-plugins-base] gst-plugin-base: Add bbappend for gst-base
  2017-03-24 13:45 [morty gst-plugins-base] gst-plugin-base: Add bbappend for gst-base Pooja Prajod
@ 2017-03-24 17:42 ` Denys Dmytriyenko
  0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2017-03-24 17:42 UTC (permalink / raw)
  To: Pooja Prajod; +Cc: meta-arago

> Subject: Re: [meta-arago] [morty gst-plugins-base] gst-plugin-base: Add bbappend for gst-base

^^ Malformed - missing [PATCH] and has unnecessary [gst-plugins-base].


On Fri, Mar 24, 2017 at 07:15:06PM +0530, Pooja Prajod wrote:
> 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.

Hacks should not be added to meta-arago-extras. Use meta-arago-distro instead.


> Signed-off-by: Pooja Prajod <a0132412@ti.com>
> ---
>  ...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-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch
>  create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
> 
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-playbin-HACK-Change-default-value-of-flags.patch
> new file mode 100644
> index 0000000..321f281
> --- /dev/null
> +++ b/meta-arago-extras/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 <a0132412@ti.com>
> +Date: Fri, 24 Mar 2017 18:24:15 +0530
> +Subject: [morty gst-plugins-base] playbin HACK: Change default value of flags

^^ This is a patch for gstreamer source code, hence morty doesn't even apply. 
Still missing [PATCH] though.


> +
> +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 <a0132412@ti.com>
> +---
> + 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-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
> new file mode 100644
> index 0000000..c1d437f
> --- /dev/null
> +++ b/meta-arago-extras/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 = "r3"
> -- 
> 1.9.1
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-24 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-24 13:45 [morty gst-plugins-base] gst-plugin-base: Add bbappend for gst-base Pooja Prajod
2017-03-24 17:42 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.