From 15b00b5f4f117cf3f9eed87b3252e87a1182f6c4 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 8 Apr 2015 11:39:19 -0300 Subject: [PATCH] gstreamer1.0-plugins-imx: Fix build failure with FSL 3.14-based kernel This checks pxp's new format specifier from the new FSL 3.14 kernel Change-Id: Icb511baa57d5a1e610d2b5319ccccfdfd379f4d3 Signed-off-by: Otavio Salvador --- ...w-format-specifier-from-the-new-FSL-.patch | 30 +++++++++++++++++++ .../gstreamer1.0-plugins-imx_0.10.1.bb | 3 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx/0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx/0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx/0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch new file mode 100644 index 00000000..9390a004 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx/0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch @@ -0,0 +1,30 @@ +From 66c2285aff440d2cdbd16ee6893bdbbbd814a08b Mon Sep 17 00:00:00 2001 +From: Carlos Rafael Giani +Date: Tue, 7 Apr 2015 18:34:05 +0200 +Subject: [PATCH] pxp: Check for new format specifier from the new FSL 3.14 + kernel + +Signed-off-by: Carlos Rafael Giani +--- + src/pxp/blitter.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/pxp/blitter.c b/src/pxp/blitter.c +index b96b3b9..7f44d03 100644 +--- a/src/pxp/blitter.c ++++ b/src/pxp/blitter.c +@@ -391,7 +391,11 @@ static GstImxPxPFormatDetails const * gst_imx_pxp_blitter_get_pxp_format_details + case GST_VIDEO_FORMAT_YUY2: FORMAT_DETAILS(PXP_PIX_FMT_YUYV, 16); + case GST_VIDEO_FORMAT_UYVY: FORMAT_DETAILS(PXP_PIX_FMT_UYVY, 16); + case GST_VIDEO_FORMAT_YVYU: FORMAT_DETAILS(PXP_PIX_FMT_YVYU, 16); ++#ifdef PXP_PIX_FMT_VUY444 ++ case GST_VIDEO_FORMAT_v308: FORMAT_DETAILS(PXP_PIX_FMT_VUY444, 24); ++#else + case GST_VIDEO_FORMAT_v308: FORMAT_DETAILS(PXP_PIX_FMT_YUV444, 24); ++#endif + case GST_VIDEO_FORMAT_IYU1: FORMAT_DETAILS(PXP_PIX_FMT_Y41P, 12); + + /* planar formats; bits per pixel is always 8 for these */ +-- +1.9.1 + diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb index 3f5061c0..0065f53a 100644 --- a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb +++ b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb @@ -13,7 +13,8 @@ RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparser SRCBRANCH ?= "master" SRCREV = "898e51dbdb01926d6423d0d31a9530ec6deb5192" -SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}" +SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH} \ + file://0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch" S = "${WORKDIR}/git" -- 2.40.1