* [morty V2] Add bbappend for gst-base
@ 2017-03-27 14:16 Pooja Prajod
2017-03-27 15:12 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Pooja Prajod @ 2017-03-27 14:16 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-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 <a0132412@ti.com>
+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 <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-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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [morty V2] Add bbappend for gst-base
2017-03-27 14:16 [morty V2] Add bbappend for gst-base Pooja Prajod
@ 2017-03-27 15:12 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2017-03-27 15:12 UTC (permalink / raw)
To: Pooja Prajod; +Cc: meta-arago
Thanks. You've added a description here, but still have issues with PATCH
subject...
On Mon, Mar 27, 2017 at 07:46:29PM +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.
>
> 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-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 <a0132412@ti.com>
> +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 <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-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
> 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-27 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27 14:16 [morty V2] Add bbappend for gst-base Pooja Prajod
2017-03-27 15:12 ` 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.