From cb3ff963b1bbff7d2c2a9e6344e4ea592a958154 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Mon, 8 Jun 2015 11:47:00 +0200 Subject: gstreamer1.0-plugins-imx: Update to version 0.10.2 Changes: - v4l2src: renamed imxv4l2src to imxv4l2videosrc to avoid name collisions with the FSL plugins - v4l2src: Call the buffer pool baseclass stop() function (fixes segfaults) - uniaudio: Create correct config header even if no codecs were found - audio: new MP3 encoder element using the libfslcodec MP3 encoder - g2d/ipu/pxp blitter sink: Respect aspect ratio also in 90/270 degree rotations - pxp: Remove broken/unsupported formats - eglvivsink: Fix double mutex unlock - phys mem meta naming cleanup Change-Id: Id2c72352f19cfeb6635af2ed0ec625867c28b7a7 Signed-off-by: Carlos Rafael Giani Signed-off-by: Otavio Salvador --- ...or-new-format-specifier-from-the-new-FSL-.patch | 30 -------------- .../gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb | 46 ---------------------- .../gstreamer/gstreamer1.0-plugins-imx_0.10.2.bb | 45 +++++++++++++++++++++ 3 files changed, 45 insertions(+), 76 deletions(-) delete mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx/0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch delete mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.2.bb diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx/0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx/0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch deleted file mode 100644 index 9390a00..0000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx/0001-pxp-Check-for-new-format-specifier-from-the-new-FSL-.patch +++ /dev/null @@ -1,30 +0,0 @@ -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/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb deleted file mode 100644 index 0065f53..0000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.1.bb +++ /dev/null @@ -1,46 +0,0 @@ -DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" -LICENSE = "LGPLv2+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" -SECTION = "multimedia" -DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base imx-gpu-viv libfslcodec libfslvpuwrap virtual/kernel virtual/egl \ - virtual/libgles2 ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" -# add the audioparsers and the videoparsersbad plugins as RDEPENDS ; audioparsers -# for the uniaudio decoder, videoparsersbad for the VPU video decoder -# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good and -bad recipes are built -RDEPENDS_gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad" -RDEPENDS_gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" -RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" - -SRCBRANCH ?= "master" -SRCREV = "898e51dbdb01926d6423d0d31a9530ec6deb5192" -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" - -inherit waf - -do_compile[depends] += "virtual/kernel:do_shared_workdir" - -# configure the eglvivsink element to use the appropriate EGL platform code -# X11 if x11 is present in DISTRO_FEATURES -# Wayland if x11 is not present in DISTRO_FEATURES, but wayland is -# Framebuffer otherwise -EGLVIVSINK_PLATFORM = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', \ - base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ - 'fb', d),d)}" - -EXTRA_OECONF = "--egl-platform=${EGLVIVSINK_PLATFORM} --kernel-headers=${STAGING_KERNEL_DIR}/include" - -# LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0) -LIBV = "1.0" -require recipes-multimedia/gstreamer/gst-plugins-package.inc - -# the following line is required to produce one package for each plugin -PACKAGES_DYNAMIC = "^${PN}-.*" - -COMPATIBLE_MACHINE = "(mx6)" - -# disable the false alarm (the "it isn't a build dependency" QA warning) -INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps" -INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps" diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.2.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.2.bb new file mode 100644 index 0000000..bfb7080 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.2.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" +LICENSE = "LGPLv2+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" +SECTION = "multimedia" +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base imx-gpu-viv libfslcodec libfslvpuwrap virtual/kernel virtual/egl \ + virtual/libgles2 ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" +# add the audioparsers and the videoparsersbad plugins as RDEPENDS ; audioparsers +# for the uniaudio decoder, videoparsersbad for the VPU video decoder +# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good and -bad recipes are built +RDEPENDS_gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad" +RDEPENDS_gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" +RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" + +SRCBRANCH ?= "master" +SRCREV = "cd04f047e17cbdff5d8e075be7dccaf4522ad713" +SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}" + +S = "${WORKDIR}/git" + +inherit waf + +do_compile[depends] += "virtual/kernel:do_shared_workdir" + +# configure the eglvivsink element to use the appropriate EGL platform code +# X11 if x11 is present in DISTRO_FEATURES +# Wayland if x11 is not present in DISTRO_FEATURES, but wayland is +# Framebuffer otherwise +EGLVIVSINK_PLATFORM = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', \ + base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ + 'fb', d),d)}" + +EXTRA_OECONF = "--egl-platform=${EGLVIVSINK_PLATFORM} --kernel-headers=${STAGING_KERNEL_DIR}/include" + +# LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0) +LIBV = "1.0" +require recipes-multimedia/gstreamer/gst-plugins-package.inc + +# the following line is required to produce one package for each plugin +PACKAGES_DYNAMIC = "^${PN}-.*" + +COMPATIBLE_MACHINE = "(mx6)" + +# disable the false alarm (the "it isn't a build dependency" QA warning) +INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps" +INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps" -- cgit v1.2.3-54-g00ecf