The latest master on the gst-plugins-vpe has kernel 4.9 dependent changes, so this breaks the VPE functionality on kernel 4.4.
This patch is a partial revert, the below fix will be part of the recipe. * Change NV12 buffer to use one plane instead of two Signed-off-by: Karthik Ramanan <[email protected]> --- ...gstvpe-Increase-number-of-buffers-in-pool.patch | 30 ++++++++++++++++++++++ .../gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb | 5 ++-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe/0001-gstvpe-Increase-number-of-buffers-in-pool.patch diff --git a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe/0001-gstvpe-Increase-number-of-buffers-in-pool.patch b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe/0001-gstvpe-Increase-number-of-buffers-in-pool.patch new file mode 100644 index 0000000..8ce3c67 --- /dev/null +++ b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe/0001-gstvpe-Increase-number-of-buffers-in-pool.patch @@ -0,0 +1,30 @@ +From 4fe4beaa1498e27878bf04020aef0099c17f2262 Mon Sep 17 00:00:00 2001 +From: Pooja Prajod <[email protected]> +Date: Mon, 29 May 2017 14:21:03 +0530 +Subject: [PATCH 3/3] gstvpe: Increase number of buffers in pool + +The number of buffers in pool calculation has been +changed in ducati decoder as part of bug fix. +Make the change in vpe to match the calculation. + +Signed-off-by: Pooja Prajod <[email protected]> +--- + src/gstvpe.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gstvpe.c b/src/gstvpe.c +index aab3af1..d795d4c 100644 +--- a/src/gstvpe.c ++++ b/src/gstvpe.c +@@ -556,7 +556,7 @@ gst_vpe_init_input_bufs (GstVpe * self, GstCaps * input_caps) + if (self->num_input_buffers) { + min_num_input_buffers = self->num_input_buffers; + } else if (self->input_max_ref_frames) { +- min_num_input_buffers = MAX (4, self->input_max_ref_frames); ++ min_num_input_buffers = MAX (6, self->input_max_ref_frames); + } else { + min_num_input_buffers = DEFAULT_NUM_INBUFS; + } +-- +1.9.1 + diff --git a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb index d33b646..eedecc9 100644 --- a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb +++ b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb @@ -5,11 +5,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" require gstreamer1.0-plugins-ti.inc -PR = "${INC_PR}.15" -SRCREV = "4fe4beaa1498e27878bf04020aef0099c17f2262" +PR = "${INC_PR}.16" +SRCREV = "6ec1a9c9fc17e0cae781aed067a2a6f2c1f92d68" SRC_URI = "git://git.ti.com/glsdk/gst-plugin-vpe.git;protocol=git \ file://ti-video.conf \ + file://0001-gstvpe-Increase-number-of-buffers-in-pool.patch \ " do_install_append() { -- 1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
