All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release
@ 2018-08-06  9:23 Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 01/10] imx-codec: Upgrade to v4.4.0 Yuqing Zhu
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Upgrade imx-codec/imx-parser/imx-vpuwrap/imx-gst1.0-plugin to v4.4.0

Upgrade GST to v1.14.imx

Add mx8 support for pulseaudio

Yuqing Zhu (10):
  imx-codec: Upgrade to v4.4.0
  imx-parser: Upgrade to v4.4.0
  imx-vpuwrap: Upgrade to v4.4.0
  gstreamer1.0: Upgrade to v1.14.imx
  gstreamer1.0-plugins-base: Upgrade to v1.14.imx
  gstreamer1.0-plugins-good: Upgrade to v1.14.imx
  gstreamer1.0-plugins-bad: Upgrade to v1.14.imx
  imx-gst1.0-plugin: Upgrade to v4.4.0
  pulseaudio: Add i.MX8 support
  pulseaudio: Enable allow-autospawn-for-root as default

 ...-don-t-hardcode-libtool-name-when-running.patch |  74 ---------
 ...-don-t-hardcode-libtool-name-when-running.patch |  45 ++++++
 .../configure-allow-to-disable-libssh2.patch       |  61 ++++++++
 ...imx.bb => gstreamer1.0-plugins-bad_1.14.imx.bb} |  82 ++++------
 ...-don-t-hardcode-libtool-name-when-running.patch |  75 ++++-----
 ...-prefix-calls-to-pkg-config-with-PKG_CONF.patch | 172 ++++++++++-----------
 ...ssing-include-directories-when-calling-in.patch |   0
 ...ncorrect-reference-to-gstreamer-sdp-in-Ma.patch |   0
 ...make-gio_unix_2_0-dependency-configurable.patch |  45 ++++++
 ...mx.bb => gstreamer1.0-plugins-base_1.14.imx.bb} |  10 +-
 ...mx.bb => gstreamer1.0-plugins-good_1.14.imx.bb} |   5 +-
 ...mer1.0_1.12.imx.bb => gstreamer1.0_1.14.imx.bb} |   4 +-
 ...-plugin_4.3.5.bb => imx-gst1.0-plugin_4.4.0.bb} |   6 +-
 .../{imx-codec_4.3.5.bb => imx-codec_4.4.0.bb}     |   6 +-
 .../{imx-parser_4.3.5.bb => imx-parser_4.4.0.bb}   |   6 +-
 .../{imx-vpuwrap_4.3.5.bb => imx-vpuwrap_4.4.0.bb} |   6 +-
 .../pulseaudio/pulseaudio_%.bbappend               |   5 +
 17 files changed, 330 insertions(+), 272 deletions(-)
 delete mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.12.imx.bb => gstreamer1.0-plugins-bad_1.14.imx.bb} (67%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base-1.12.imx => gstreamer1.0-plugins-base-1.14.imx}/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch (76%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base-1.12.imx => gstreamer1.0-plugins-base-1.14.imx}/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch (75%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base-1.12.imx => gstreamer1.0-plugins-base-1.14.imx}/0003-riff-add-missing-include-directories-when-calling-in.patch (100%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base-1.12.imx => gstreamer1.0-plugins-base-1.14.imx}/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch (100%)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/make-gio_unix_2_0-dependency-configurable.patch
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.12.imx.bb => gstreamer1.0-plugins-base_1.14.imx.bb} (88%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.12.imx.bb => gstreamer1.0-plugins-good_1.14.imx.bb} (96%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0_1.12.imx.bb => gstreamer1.0_1.14.imx.bb} (96%)
 rename recipes-multimedia/gstreamer/{imx-gst1.0-plugin_4.3.5.bb => imx-gst1.0-plugin_4.4.0.bb} (96%)
 rename recipes-multimedia/imx-codec/{imx-codec_4.3.5.bb => imx-codec_4.4.0.bb} (95%)
 rename recipes-multimedia/imx-parser/{imx-parser_4.3.5.bb => imx-parser_4.4.0.bb} (88%)
 rename recipes-multimedia/imx-vpuwrap/{imx-vpuwrap_4.3.5.bb => imx-vpuwrap_4.4.0.bb} (78%)

-- 
1.9.1



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

* [PATCH 01/10] imx-codec: Upgrade to v4.4.0
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 02/10] imx-parser: " Yuqing Zhu
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Upgrade EULA to v24

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 .../imx-codec/{imx-codec_4.3.5.bb => imx-codec_4.4.0.bb}            | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename recipes-multimedia/imx-codec/{imx-codec_4.3.5.bb => imx-codec_4.4.0.bb} (95%)

diff --git a/recipes-multimedia/imx-codec/imx-codec_4.3.5.bb b/recipes-multimedia/imx-codec/imx-codec_4.4.0.bb
similarity index 95%
rename from recipes-multimedia/imx-codec/imx-codec_4.3.5.bb
rename to recipes-multimedia/imx-codec/imx-codec_4.4.0.bb
index 380a17a..7879ff9 100644
--- a/recipes-multimedia/imx-codec/imx-codec_4.3.5.bb
+++ b/recipes-multimedia/imx-codec/imx-codec_4.4.0.bb
@@ -5,14 +5,14 @@
 DESCRIPTION = "Freescale Multimedia codec libs"
 LICENSE = "Proprietary"
 SECTION = "multimedia"
-LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
 
 # Backward compatibility
 PROVIDES += "libfslcodec"
 
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
-SRC_URI[md5sum] = "ea080472c3fe5f5ae4760ba16c8ea6c5"
-SRC_URI[sha256sum] = "6bb54f91c3ca18567e14d95d3858022dc9be00dc86e9edfdb544d1240a3b2b04"
+SRC_URI[md5sum] = "27c4d8f70a2c9ee0c63034f97752c235"
+SRC_URI[sha256sum] = "6f0117365e0b0235ba42fc8b1bbbc5e02e635da47aff66face5816721b581fbf"
 
 inherit fsl-eula-unpack autotools pkgconfig
 
-- 
1.9.1



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

* [PATCH 02/10] imx-parser: Upgrade to v4.4.0
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 01/10] imx-codec: Upgrade to v4.4.0 Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 03/10] imx-vpuwrap: " Yuqing Zhu
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Upgrade EULA to v24

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 .../imx-parser/{imx-parser_4.3.5.bb => imx-parser_4.4.0.bb}         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename recipes-multimedia/imx-parser/{imx-parser_4.3.5.bb => imx-parser_4.4.0.bb} (88%)

diff --git a/recipes-multimedia/imx-parser/imx-parser_4.3.5.bb b/recipes-multimedia/imx-parser/imx-parser_4.4.0.bb
similarity index 88%
rename from recipes-multimedia/imx-parser/imx-parser_4.3.5.bb
rename to recipes-multimedia/imx-parser/imx-parser_4.4.0.bb
index 30cc709..48e6282 100644
--- a/recipes-multimedia/imx-parser/imx-parser_4.3.5.bb
+++ b/recipes-multimedia/imx-parser/imx-parser_4.4.0.bb
@@ -5,7 +5,7 @@
 DESCRIPTION = "Freescale Multimedia parser libs"
 LICENSE = "Proprietary"
 SECTION = "multimedia"
-LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
 
 # For backwards compatibility
 PROVIDES += "libfslparser"
@@ -14,8 +14,8 @@ RPROVIDES_${PN} = "libfslparser"
 RCONFLICTS_${PN} = "libfslparser"
 
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
-SRC_URI[md5sum] = "54fcf59ec947955aceae51831d3ccb46"
-SRC_URI[sha256sum] = "9cd8c49a0bb1050afcfbcc7a677a348443fda4ecacb621cc6e38897619e27c67"
+SRC_URI[md5sum] = "55918adc721057ad762f39cada22c566"
+SRC_URI[sha256sum] = "edde3d1a0e52fce55f7b0df6bd831649434e71e434468cf8b247acc809c35e7a"
 
 inherit fsl-eula-unpack autotools pkgconfig
 
-- 
1.9.1



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

* [PATCH 03/10] imx-vpuwrap: Upgrade to v4.4.0
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 01/10] imx-codec: Upgrade to v4.4.0 Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 02/10] imx-parser: " Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 04/10] gstreamer1.0: Upgrade to v1.14.imx Yuqing Zhu
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Upgrade EULA to v24

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 .../imx-vpuwrap/{imx-vpuwrap_4.3.5.bb => imx-vpuwrap_4.4.0.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename recipes-multimedia/imx-vpuwrap/{imx-vpuwrap_4.3.5.bb => imx-vpuwrap_4.4.0.bb} (78%)

diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.3.5.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.4.0.bb
similarity index 78%
rename from recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.3.5.bb
rename to recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.4.0.bb
index f915902..eeb3e54 100644
--- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.3.5.bb
+++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.4.0.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "Freescale Multimedia VPU wrapper"
 DEPENDS = "virtual/imxvpu"
 LICENSE = "Proprietary"
 SECTION = "multimedia"
-LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
 
 # For backwards compatibility
 PROVIDES += "libfslvpuwrap"
@@ -16,8 +16,8 @@ RCONFLICTS_${PN} = "libfslvpuwrap"
 
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
 
-SRC_URI[md5sum] = "ebcafcd76ec7c5b7cb9ba084da2b5612"
-SRC_URI[sha256sum] = "5c08b4b7c771404c998779f0e27a75564b57958d463e2df152c910d76cca9e44"
+SRC_URI[md5sum] = "dc69b4df71bca964cccb19a9b46de591"
+SRC_URI[sha256sum] = "5adb17386584bdd39faa5004b4ceb83987f1519acf4466e15b42672def66f49d"
 
 inherit fsl-eula-unpack autotools pkgconfig
 
-- 
1.9.1



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

* [PATCH 04/10] gstreamer1.0: Upgrade to v1.14.imx
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
                   ` (2 preceding siblings ...)
  2018-08-06  9:23 ` [PATCH 03/10] imx-vpuwrap: " Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 05/10] gstreamer1.0-plugins-base: " Yuqing Zhu
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Bugfix/Optimization:
baseparse: Handle base parse error.

baseparse: Unset FLAG_DISCONT when push to adapter.
Or the DISCONT flag will always be set on each frame,
for the first chain in buffer.

baseparse: Push adapter remainning data in
pass through mode to avoid missing data.

poll: Need check if can read event of buffer
for video decoder based on V4L2 driver.
Add the API for it.

inputselector: Proceed non-active pad buffer even if active pad reach eos
Non-active pad will be blocked if active pad reach eos in
inputselector, which will cause all pipeline be blocked.
Inputselector should proceed non-active pad buffer based
on clock even if active pad reach eos.
Change to sync with clock for better user experience.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 .../gstreamer/{gstreamer1.0_1.12.imx.bb => gstreamer1.0_1.14.imx.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename recipes-multimedia/gstreamer/{gstreamer1.0_1.12.imx.bb => gstreamer1.0_1.14.imx.bb} (96%)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.12.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.14.imx.bb
similarity index 96%
rename from recipes-multimedia/gstreamer/gstreamer1.0_1.12.imx.bb
rename to recipes-multimedia/gstreamer/gstreamer1.0_1.14.imx.bb
index 419b891..a901223 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0_1.12.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.14.imx.bb
@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
 
 # Use i.MX fork of GST for customizations
 GST1.0_SRC ?= "gitsm://source.codeaurora.org/external/imx/gstreamer.git;protocol=https"
-SRCBRANCH = "imx-1.12.x"
+SRCBRANCH = "MM_04.04.00_1805_L4.9.88_MX8QXP_BETA2"
 
 SRC_URI = " \
     ${GST1.0_SRC};branch=${SRCBRANCH} \
@@ -27,7 +27,7 @@ SRC_URI = " \
     file://gtk-doc-tweaks.patch \
     file://0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch \
 "
-SRCREV = "cca1ebf223bd423ed5fc21031014ee1f3ce497a1"
+SRCREV = "f4e127a5e9a1eb977e023532d6636d939c8ccbc8"
 
 DEFAULT_PREFERENCE = "-1"
 
-- 
1.9.1



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

* [PATCH 05/10] gstreamer1.0-plugins-base: Upgrade to v1.14.imx
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
                   ` (3 preceding siblings ...)
  2018-08-06  9:23 ` [PATCH 04/10] gstreamer1.0: Upgrade to v1.14.imx Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 06/10] gstreamer1.0-plugins-good: " Yuqing Zhu
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Add GST_GL_API ahead api to export symbol
add include "gstglfuncs.h" when need call gl api.

Add ion dmabuf support in glupload/gldownload.

Add fullRange to hdr10 metadata.

Move gstimxcommon.h into base for imx specified dev.

Add imx physical memory allocator.

Fix glplugin not build in wayland backend.

Patch update to fix applying conflicts.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 ...-don-t-hardcode-libtool-name-when-running.patch |  75 ++++-----
 ...-prefix-calls-to-pkg-config-with-PKG_CONF.patch | 172 ++++++++++-----------
 ...ssing-include-directories-when-calling-in.patch |   0
 ...ncorrect-reference-to-gstreamer-sdp-in-Ma.patch |   0
 ...make-gio_unix_2_0-dependency-configurable.patch |  45 ++++++
 ...mx.bb => gstreamer1.0-plugins-base_1.14.imx.bb} |  10 +-
 6 files changed, 175 insertions(+), 127 deletions(-)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base-1.12.imx => gstreamer1.0-plugins-base-1.14.imx}/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch (76%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base-1.12.imx => gstreamer1.0-plugins-base-1.14.imx}/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch (75%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base-1.12.imx => gstreamer1.0-plugins-base-1.14.imx}/0003-riff-add-missing-include-directories-when-calling-in.patch (100%)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base-1.12.imx => gstreamer1.0-plugins-base-1.14.imx}/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch (100%)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/make-gio_unix_2_0-dependency-configurable.patch
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.12.imx.bb => gstreamer1.0-plugins-base_1.14.imx.bb} (88%)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
similarity index 76%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
index 094bdac..a1cc7d3 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
@@ -1,16 +1,19 @@
-From f1d9652351e7754c63003104eceb526af424c7e0 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 20 Nov 2015 16:53:04 +0200
-Subject: [PATCH 1/4] Makefile.am: don't hardcode libtool name when running
+From a049bb15839557594713cb32e7d6bfe0e2127392 Mon Sep 17 00:00:00 2001
+From: Yuqing Zhu <carol.zhu@nxp.com>
+Date: Fri, 20 Apr 2018 22:46:46 +0800
+Subject: [PATCH] Makefile.am: don't hardcode libtool name when running
  introspection tools
 
+Do patch refine basing on commit: f1d9652351e7754c63003104eceb526af424c7e0
+
 Upstream-Status: Pending [review on oe-core maillist]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+
+Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
 ---
  gst-libs/gst/allocators/Makefile.am | 2 +-
  gst-libs/gst/app/Makefile.am        | 2 +-
  gst-libs/gst/audio/Makefile.am      | 2 +-
- gst-libs/gst/fft/Makefile.am        | 2 +-
+ gst-libs/gst/gl/Makefile.am         | 2 +-
  gst-libs/gst/pbutils/Makefile.am    | 2 +-
  gst-libs/gst/riff/Makefile.am       | 2 +-
  gst-libs/gst/rtp/Makefile.am        | 2 +-
@@ -21,10 +24,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  11 files changed, 11 insertions(+), 11 deletions(-)
 
 diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am
-index 9361bf9..bc7f53a 100644
+index 0edc0ae..d0d425d 100644
 --- a/gst-libs/gst/allocators/Makefile.am
 +++ b/gst-libs/gst/allocators/Makefile.am
-@@ -38,7 +38,7 @@ GstAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstallocators-@
+@@ -58,7 +58,7 @@ GstAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstallocators-@
  		--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
  		--library=libgstallocators-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
@@ -34,10 +37,10 @@ index 9361bf9..bc7f53a 100644
  		--pkg-export gstreamer-allocators-@GST_API_VERSION@ \
  		--output $@ \
 diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am
-index 6d6de8d..dcc2fe0 100644
+index 52f6ad3..5bfd606 100644
 --- a/gst-libs/gst/app/Makefile.am
 +++ b/gst-libs/gst/app/Makefile.am
-@@ -53,7 +53,7 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSIO
+@@ -56,7 +56,7 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSIO
  		--library=libgstapp-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
@@ -47,10 +50,10 @@ index 6d6de8d..dcc2fe0 100644
  		--pkg gstreamer-base-@GST_API_VERSION@ \
  		--pkg-export gstreamer-app-@GST_API_VERSION@ \
 diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am
-index 275d222..2374196 100644
+index 2922245..7fb65f2 100644
 --- a/gst-libs/gst/audio/Makefile.am
 +++ b/gst-libs/gst/audio/Makefile.am
-@@ -116,7 +116,7 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VE
+@@ -184,7 +184,7 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VE
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
  		--include=GstTag-@GST_API_VERSION@ \
@@ -59,24 +62,24 @@ index 275d222..2374196 100644
  		--pkg gstreamer-@GST_API_VERSION@ \
  		--pkg gstreamer-base-@GST_API_VERSION@ \
  		--pkg-export gstreamer-audio-@GST_API_VERSION@ \
-diff --git a/gst-libs/gst/fft/Makefile.am b/gst-libs/gst/fft/Makefile.am
-index 09b3d68..f545354 100644
---- a/gst-libs/gst/fft/Makefile.am
-+++ b/gst-libs/gst/fft/Makefile.am
-@@ -65,7 +65,7 @@ GstFft-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstfft-@GST_API_VERSIO
- 		--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
- 		--library=libgstfft-@GST_API_VERSION@.la \
+diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am
+index b04187f..576bf1c 100644
+--- a/gst-libs/gst/gl/Makefile.am
++++ b/gst-libs/gst/gl/Makefile.am
+@@ -205,7 +205,7 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@
  		--include=Gst-@GST_API_VERSION@ \
+ 		--include=GstBase-@GST_API_VERSION@ \
+ 		--include=GstVideo-@GST_API_VERSION@ \
 -		--libtool="$(top_builddir)/libtool" \
 +		--libtool="$(LIBTOOL)" \
  		--pkg gstreamer-@GST_API_VERSION@ \
- 		--pkg-export gstreamer-fft-@GST_API_VERSION@ \
- 		--output $@ \
+ 		--pkg gstreamer-base-@GST_API_VERSION@ \
+ 		--pkg gstreamer-video-@GST_API_VERSION@ \
 diff --git a/gst-libs/gst/pbutils/Makefile.am b/gst-libs/gst/pbutils/Makefile.am
-index 64d5eb0..91dc214 100644
+index ae51993..35a6e44 100644
 --- a/gst-libs/gst/pbutils/Makefile.am
 +++ b/gst-libs/gst/pbutils/Makefile.am
-@@ -99,7 +99,7 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_AP
+@@ -103,7 +103,7 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_AP
  		--include=GstTag-@GST_API_VERSION@ \
  		--include=GstVideo-@GST_API_VERSION@ \
  		--include=GstAudio-@GST_API_VERSION@ \
@@ -86,10 +89,10 @@ index 64d5eb0..91dc214 100644
  		--pkg gstreamer-tag-@GST_API_VERSION@ \
  		--pkg gstreamer-video-@GST_API_VERSION@ \
 diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am
-index 83d83cb..3bd8fc0 100644
+index fb53f06..e66ef4f 100644
 --- a/gst-libs/gst/riff/Makefile.am
 +++ b/gst-libs/gst/riff/Makefile.am
-@@ -47,7 +47,7 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS)
+@@ -49,7 +49,7 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS)
  #		--include=GstAudio-@GST_API_VERSION@ \
  #		--include=GstTag-@GST_API_VERSION@ \
  #		--include=Gst-@GST_API_VERSION@ \
@@ -99,10 +102,10 @@ index 83d83cb..3bd8fc0 100644
  #		--pkg gstreamer-tag-@GST_API_VERSION@ \
  #		--pkg gstreamer-audio-@GST_API_VERSION@ \
 diff --git a/gst-libs/gst/rtp/Makefile.am b/gst-libs/gst/rtp/Makefile.am
-index fdd01c1..f5445c1 100644
+index a6f971d..77ebeeb 100644
 --- a/gst-libs/gst/rtp/Makefile.am
 +++ b/gst-libs/gst/rtp/Makefile.am
-@@ -65,7 +65,7 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO
+@@ -69,7 +69,7 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO
  		--library=libgstrtp-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
@@ -112,10 +115,10 @@ index fdd01c1..f5445c1 100644
  		--pkg gstreamer-base-@GST_API_VERSION@ \
  		--pkg-export gstreamer-rtp-@GST_API_VERSION@ \
 diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am
-index ede5706..9b0b258 100644
+index ceb07f4..db9d0fd 100644
 --- a/gst-libs/gst/rtsp/Makefile.am
 +++ b/gst-libs/gst/rtsp/Makefile.am
-@@ -72,7 +72,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS
+@@ -76,7 +76,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS
  		--include=Gio-2.0 \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstSdp-@GST_API_VERSION@ \
@@ -125,10 +128,10 @@ index ede5706..9b0b258 100644
  		--pkg gstreamer-@GST_API_VERSION@ \
  		--pkg gstreamer-sdp-@GST_API_VERSION@ \
 diff --git a/gst-libs/gst/sdp/Makefile.am b/gst-libs/gst/sdp/Makefile.am
-index a90f30b..0e149b8 100644
+index e197e9b..6e05cc7 100644
 --- a/gst-libs/gst/sdp/Makefile.am
 +++ b/gst-libs/gst/sdp/Makefile.am
-@@ -32,7 +32,7 @@ GstSdp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_API_VERSIO
+@@ -34,7 +34,7 @@ GstSdp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_API_VERSIO
  		--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
  		--library=libgstsdp-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
@@ -138,10 +141,10 @@ index a90f30b..0e149b8 100644
  		--pkg-export gstreamer-sdp-@GST_API_VERSION@ \
  		--output $@ \
 diff --git a/gst-libs/gst/tag/Makefile.am b/gst-libs/gst/tag/Makefile.am
-index c534a4d..cafafd3 100644
+index 0247c33..c86515b 100644
 --- a/gst-libs/gst/tag/Makefile.am
 +++ b/gst-libs/gst/tag/Makefile.am
-@@ -45,7 +45,7 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO
+@@ -66,7 +66,7 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO
  		--library=libgsttag-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
@@ -151,10 +154,10 @@ index c534a4d..cafafd3 100644
  		--pkg gstreamer-base-@GST_API_VERSION@ \
  		--pkg-export gstreamer-tag-@GST_API_VERSION@ \
 diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am
-index 5d31fa1..ac64eb3 100644
+index 1b74f37..0f7c07e 100644
 --- a/gst-libs/gst/video/Makefile.am
 +++ b/gst-libs/gst/video/Makefile.am
-@@ -116,7 +116,7 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VE
+@@ -126,7 +126,7 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VE
  		--library=libgstvideo-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
@@ -164,5 +167,5 @@ index 5d31fa1..ac64eb3 100644
  		--pkg gstreamer-base-@GST_API_VERSION@ \
  		--pkg-export gstreamer-video-@GST_API_VERSION@ \
 -- 
-2.6.2
+2.7.4
 
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
similarity index 75%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
index 6616e2c..4b6cfdd 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
@@ -1,16 +1,18 @@
-From 990b653c7b6de1937ec759019982d6c5f15770f7 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Mon, 26 Oct 2015 16:38:18 +0200
-Subject: [PATCH 2/4] Makefile.am: prefix calls to pkg-config with
+From e3f28d15e38f7633d8ed4023fe883b8377c0597e Mon Sep 17 00:00:00 2001
+From: Yuqing Zhu <carol.zhu@nxp.com>
+Date: Fri, 20 Apr 2018 02:03:57 +0800
+Subject: [PATCH] Makefile.am: prefix calls to pkg-config with
  PKG_CONFIG_SYSROOT_DIR
 
+Do patch refine base on commit: 990b653c7b6de1937ec759019982d6c5f15770f7
+
 Upstream-Status: Pending [review on oe-core maillist]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+
+Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
 ---
  gst-libs/gst/allocators/Makefile.am |  4 ++--
- gst-libs/gst/app/Makefile.am        |  4 ++--
+ gst-libs/gst/app/Makefile.am        |  8 ++++----
  gst-libs/gst/audio/Makefile.am      | 12 ++++++------
- gst-libs/gst/fft/Makefile.am        |  4 ++--
  gst-libs/gst/pbutils/Makefile.am    | 12 ++++++------
  gst-libs/gst/riff/Makefile.am       |  8 ++++----
  gst-libs/gst/rtp/Makefile.am        |  8 ++++----
@@ -18,13 +20,13 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  gst-libs/gst/sdp/Makefile.am        |  4 ++--
  gst-libs/gst/tag/Makefile.am        |  8 ++++----
  gst-libs/gst/video/Makefile.am      |  8 ++++----
- 11 files changed, 38 insertions(+), 38 deletions(-)
+ 10 files changed, 38 insertions(+), 38 deletions(-)
 
-Index: gst-plugins-base-1.12.3/gst-libs/gst/allocators/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/allocators/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/allocators/Makefile.am
-@@ -36,7 +36,7 @@ GstAllocators-@GST_API_VERSION@.gir: $(I
+diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am
+index c4412a1..9f9d14d 100644
+--- a/gst-libs/gst/allocators/Makefile.am
++++ b/gst-libs/gst/allocators/Makefile.am
+@@ -59,7 +59,7 @@ GstAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstallocators-@
  		--c-include "gst/allocators/allocators.h" \
  		-I$(top_srcdir)/gst-libs \
  		-I$(top_builddir)/gst-libs \
@@ -33,7 +35,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/allocators/Makefile.am
  		--library=libgstallocators-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--libtool="$(LIBTOOL)" \
-@@ -60,7 +60,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
+@@ -83,7 +83,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
  		$(INTROSPECTION_COMPILER) \
  		--includedir=$(srcdir) \
  		--includedir=$(builddir) \
@@ -42,11 +44,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/allocators/Makefile.am
  		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
  
  CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
-Index: gst-plugins-base-1.12.3/gst-libs/gst/app/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/app/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/app/Makefile.am
-@@ -48,8 +48,8 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPE
+diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am
+index 5bfd606..c231267 100644
+--- a/gst-libs/gst/app/Makefile.am
++++ b/gst-libs/gst/app/Makefile.am
+@@ -51,8 +51,8 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSIO
  		--c-include "gst/app/app.h" \
  		-I$(top_srcdir)/gst-libs \
  		-I$(top_builddir)/gst-libs \
@@ -57,11 +59,22 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/app/Makefile.am
  		--library=libgstapp-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
-Index: gst-plugins-base-1.12.3/gst-libs/gst/audio/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/audio/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/audio/Makefile.am
-@@ -167,12 +167,12 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROS
+@@ -79,8 +79,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
+ 		$(INTROSPECTION_COMPILER) \
+ 		--includedir=$(srcdir) \
+ 		--includedir=$(builddir) \
+-		--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
+-		--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
++		--includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
++		--includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
+ 		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
+ 
+ CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
+diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am
+index 7fb65f2..5379f79 100644
+--- a/gst-libs/gst/audio/Makefile.am
++++ b/gst-libs/gst/audio/Makefile.am
+@@ -174,12 +174,12 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VE
  		-I$(top_srcdir)/gst-libs \
  		-I$(top_builddir)/gst-libs \
  		--c-include "gst/audio/audio.h" \
@@ -78,7 +91,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/audio/Makefile.am
  		--library-path="$(top_builddir)/gst-libs/gst/tag/" \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
-@@ -201,8 +201,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
+@@ -208,8 +208,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
  		--includedir=$(srcdir) \
  		--includedir=$(builddir) \
  		--includedir="$(top_builddir)/gst-libs/gst/tag/" \
@@ -89,33 +102,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/audio/Makefile.am
  		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
  
  CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
-Index: gst-plugins-base-1.12.3/gst-libs/gst/fft/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/fft/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/fft/Makefile.am
-@@ -63,7 +63,7 @@ GstFft-@GST_API_VERSION@.gir: $(INTROSPE
- 		--c-include "gst/fft/fft.h" \
- 		-I$(top_srcdir)/gst-libs \
- 		-I$(top_builddir)/gst-libs \
--		--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
-+		--add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
- 		--library=libgstfft-@GST_API_VERSION@.la \
- 		--include=Gst-@GST_API_VERSION@ \
- 		--libtool="$(LIBTOOL)" \
-@@ -87,7 +87,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
- 		$(INTROSPECTION_COMPILER) \
- 		--includedir=$(srcdir) \
- 		--includedir=$(builddir) \
--		--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
-+		--includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
- 		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
- 
- CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
-Index: gst-plugins-base-1.12.3/gst-libs/gst/pbutils/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/pbutils/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/pbutils/Makefile.am
-@@ -85,14 +85,14 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTR
+diff --git a/gst-libs/gst/pbutils/Makefile.am b/gst-libs/gst/pbutils/Makefile.am
+index 35a6e44..49d6894 100644
+--- a/gst-libs/gst/pbutils/Makefile.am
++++ b/gst-libs/gst/pbutils/Makefile.am
+@@ -88,14 +88,14 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_AP
  		--c-include "gst/pbutils/pbutils.h" \
  		-I$(top_srcdir)/gst-libs \
  		-I$(top_builddir)/gst-libs \
@@ -134,7 +125,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/pbutils/Makefile.am
  		--library-path="$(top_builddir)/gst-libs/gst/tag/" \
  		--library-path="$(top_builddir)/gst-libs/gst/video/" \
  		--library-path="$(top_builddir)/gst-libs/gst/audio/" \
-@@ -125,8 +125,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
+@@ -128,8 +128,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
  		$(INTROSPECTION_COMPILER) \
  		--includedir=$(srcdir) \
  		--includedir=$(builddir) \
@@ -145,11 +136,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/pbutils/Makefile.am
  		--includedir="$(top_builddir)/gst-libs/gst/tag/" \
  		--includedir="$(top_builddir)/gst-libs/gst/video/" \
  		--includedir="$(top_builddir)/gst-libs/gst/audio/" \
-Index: gst-plugins-base-1.12.3/gst-libs/gst/riff/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/riff/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/riff/Makefile.am
-@@ -42,8 +42,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS
+diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am
+index e66ef4f..c8c588a 100644
+--- a/gst-libs/gst/riff/Makefile.am
++++ b/gst-libs/gst/riff/Makefile.am
+@@ -43,8 +43,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS)
  #		--c-include "gst/riff/riff.h" \
  #		--add-include-path=$(builddir)/../tag \
  #		--add-include-path=$(builddir)/../audio \
@@ -160,7 +151,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/riff/Makefile.am
  #		--library=libgstriff-@GST_API_VERSION@.la \
  #		--include=GstAudio-@GST_API_VERSION@ \
  #		--include=GstTag-@GST_API_VERSION@ \
-@@ -74,8 +74,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS
+@@ -75,8 +75,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS)
  #		--includedir=$(builddir) \
  #		--includedir=$(builddir)/../tag \
  #		--includedir=$(builddir)/../audio \
@@ -171,11 +162,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/riff/Makefile.am
  #		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
  #
  #CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
-Index: gst-plugins-base-1.12.3/gst-libs/gst/rtp/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/rtp/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/rtp/Makefile.am
-@@ -61,8 +61,8 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPE
+diff --git a/gst-libs/gst/rtp/Makefile.am b/gst-libs/gst/rtp/Makefile.am
+index 77ebeeb..9aee788 100644
+--- a/gst-libs/gst/rtp/Makefile.am
++++ b/gst-libs/gst/rtp/Makefile.am
+@@ -64,8 +64,8 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO
  		--c-include "gst/rtp/rtp.h" \
  		-I$(top_builddir)/gst-libs \
  		-I$(top_srcdir)/gst-libs \
@@ -186,7 +177,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/rtp/Makefile.am
  		--library=libgstrtp-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
-@@ -89,8 +89,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
+@@ -92,8 +92,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
  		$(INTROSPECTION_COMPILER) \
  		--includedir=$(srcdir) \
  		--includedir=$(builddir) \
@@ -197,11 +188,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/rtp/Makefile.am
  		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
  
  CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
-Index: gst-plugins-base-1.12.3/gst-libs/gst/rtsp/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/rtsp/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/rtsp/Makefile.am
-@@ -68,7 +68,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSP
+diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am
+index db9d0fd..79027cb 100644
+--- a/gst-libs/gst/rtsp/Makefile.am
++++ b/gst-libs/gst/rtsp/Makefile.am
+@@ -71,7 +71,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS
  		-I$(top_builddir)/gst-libs \
  		-I$(top_srcdir)/gst-libs \
  		--add-include-path=$(builddir)/../sdp \
@@ -210,7 +201,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/rtsp/Makefile.am
  		--library=libgstrtsp-@GST_API_VERSION@.la \
  		--include=Gio-2.0 \
  		--include=Gst-@GST_API_VERSION@ \
-@@ -98,7 +98,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
+@@ -101,7 +101,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
  		--includedir=$(srcdir) \
  		--includedir=$(builddir) \
  		--includedir=$(builddir)/../sdp \
@@ -219,11 +210,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/rtsp/Makefile.am
  		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
  
  CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
-Index: gst-plugins-base-1.12.3/gst-libs/gst/sdp/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/sdp/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/sdp/Makefile.am
-@@ -30,7 +30,7 @@ GstSdp-@GST_API_VERSION@.gir: $(INTROSPE
+diff --git a/gst-libs/gst/sdp/Makefile.am b/gst-libs/gst/sdp/Makefile.am
+index 6e05cc7..c7cf514 100644
+--- a/gst-libs/gst/sdp/Makefile.am
++++ b/gst-libs/gst/sdp/Makefile.am
+@@ -31,7 +31,7 @@ GstSdp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_API_VERSIO
  		--warn-all \
  		--c-include "gst/sdp/sdp.h" \
  		-I$(top_srcdir)/gst-libs \
@@ -232,7 +223,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/sdp/Makefile.am
  		--library=libgstsdp-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--libtool="$(LIBTOOL)" \
-@@ -54,7 +54,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
+@@ -55,7 +55,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
  		$(INTROSPECTION_COMPILER) \
  		--includedir=$(srcdir) \
  		--includedir=$(builddir) \
@@ -241,11 +232,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/sdp/Makefile.am
  		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
  
  CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
-Index: gst-plugins-base-1.12.3/gst-libs/gst/tag/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/tag/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/tag/Makefile.am
-@@ -59,8 +59,8 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPE
+diff --git a/gst-libs/gst/tag/Makefile.am b/gst-libs/gst/tag/Makefile.am
+index c86515b..363e6d2 100644
+--- a/gst-libs/gst/tag/Makefile.am
++++ b/gst-libs/gst/tag/Makefile.am
+@@ -61,8 +61,8 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO
  		--c-include "gst/tag/tag.h" \
  		-I$(top_srcdir)/gst-libs \
  		-I$(top_builddir)/gst-libs \
@@ -256,7 +247,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/tag/Makefile.am
  		--library=libgsttag-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
-@@ -87,8 +87,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
+@@ -89,8 +89,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
  		$(INTROSPECTION_COMPILER) \
  		--includedir=$(srcdir) \
  		--includedir=$(builddir) \
@@ -267,11 +258,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/tag/Makefile.am
  		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
  
  CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
-Index: gst-plugins-base-1.12.3/gst-libs/gst/video/Makefile.am
-===================================================================
---- gst-plugins-base-1.12.3.orig/gst-libs/gst/video/Makefile.am
-+++ gst-plugins-base-1.12.3/gst-libs/gst/video/Makefile.am
-@@ -116,8 +116,8 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROS
+diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am
+index 0f7c07e..d642267 100644
+--- a/gst-libs/gst/video/Makefile.am
++++ b/gst-libs/gst/video/Makefile.am
+@@ -121,8 +121,8 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VE
  		--c-include "gst/video/video.h" \
  		-I$(top_srcdir)/gst-libs \
  		-I$(top_builddir)/gst-libs \
@@ -282,7 +273,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/video/Makefile.am
  		--library=libgstvideo-@GST_API_VERSION@.la \
  		--include=Gst-@GST_API_VERSION@ \
  		--include=GstBase-@GST_API_VERSION@ \
-@@ -144,8 +144,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=
+@@ -149,8 +149,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
  		$(INTROSPECTION_COMPILER) \
  		--includedir=$(srcdir) \
  		--includedir=$(builddir) \
@@ -293,3 +284,6 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/video/Makefile.am
  		$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
  
  CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
+-- 
+2.7.4
+
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0003-riff-add-missing-include-directories-when-calling-in.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0003-riff-add-missing-include-directories-when-calling-in.patch
similarity index 100%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0003-riff-add-missing-include-directories-when-calling-in.patch
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0003-riff-add-missing-include-directories-when-calling-in.patch
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
similarity index 100%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.12.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/make-gio_unix_2_0-dependency-configurable.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/make-gio_unix_2_0-dependency-configurable.patch
new file mode 100644
index 0000000..23950b6
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/make-gio_unix_2_0-dependency-configurable.patch
@@ -0,0 +1,45 @@
+From 7ffa6e3d00e1d8a060f3f4c2bb9a72691af05d79 Mon Sep 17 00:00:00 2001
+From: Andre McCurdy <armccurdy@gmail.com>
+Date: Wed, 20 Jan 2016 13:00:00 -0800
+Subject: [PATCH] make gio_unix_2_0 dependency configurable
+
+Prior to 1.7.1, gst-plugins-base accepted a configure option to
+disable gio_unix_2_0, however it was implemented incorrectly using
+AG_GST_CHECK_FEATURE. That was fixed in 1.7.1 by making the
+dependency unconditional.
+
+  http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=aadefefba88afe4acbe64454650f24e7ce7c8d70
+
+To make builds deterministic, re-instate support for
+--disable-gio_unix_2_0, but implement it using the AC_ARG_ENABLE
+instead of AG_GST_CHECK_FEATURE.
+
+Upstream-Status: Pending
+
+Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
+
+---
+ configure.ac | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 12807bc..35a0bf3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -806,9 +806,16 @@ AM_CONDITIONAL(HAVE_PNG, test "x$HAVE_PNG" = "xyes")
+ AM_CONDITIONAL(HAVE_JPEG, test "x$HAVE_JPEG" = "xyes")
+ 
+ dnl *** gio-unix-2.0 for tests/check/pipelines/tcp.c ***
++AC_ARG_ENABLE([gio_unix_2_0],
++  [AS_HELP_STRING([--disable-gio_unix_2_0],[disable use of gio_unix_2_0])],
++  [],
++  [enable_gio_unix_2_0=yes])
++
++if test "x${enable_gio_unix_2_0}" != "xno"; then
+ PKG_CHECK_MODULES(GIO_UNIX_2_0, gio-unix-2.0 >= 2.24,
+     HAVE_GIO_UNIX_2_0="yes",
+     HAVE_GIO_UNIX_2_0="no")
++fi
+ AM_CONDITIONAL(USE_GIO_UNIX_2_0, test "x$HAVE_GIO_UNIX_2_0" = "xyes")
+ 
+ dnl *** finalize CFLAGS, LDFLAGS, LIBS
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.imx.bb
similarity index 88%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.imx.bb
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.imx.bb
index 35b1a5f..3ea3d57 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.imx.bb
@@ -6,17 +6,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
                     file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607"
 
 GST1.0-PLUGINS-BASE_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-base.git;protocol=https"
-SRCBRANCH = "MM_04.03.05_1804_L4.9.88_MX7ULP_GA"
+SRCBRANCH = "MM_04.04.00_1805_L4.9.88_MX8QXP_BETA2"
 
 SRC_URI = " \
     ${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} \
     file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
+    file://make-gio_unix_2_0-dependency-configurable.patch \
     file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \
     file://0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch \
     file://0003-riff-add-missing-include-directories-when-calling-in.patch \
     file://0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch \
 "
-SRCREV = "7b637f65e7ce2b03c5adb7624501e74c575ac0f2"
+SRCREV = "04bafd740a52757f12496206cfabe282835a1eb5"
 
 DEFAULT_PREFERENCE = "-1"
 
@@ -27,6 +28,9 @@ S = "${WORKDIR}/git"
 # Enable pango lib
 PACKAGECONFIG_append = " pango "
 
+# Disable introspection to fix [GstGL-1.0.gir] Error
+EXTRA_OECONF_append = " --disable-introspection --disable-opengl --enable-wayland"
+
 # ion allocator will be enabled only when detecting the ion.h exists, which is built out from kernel.
 # Now, ion allocator can be supported on all i.MX platform
 DEPENDS_append = " iso-codes util-linux virtual/kernel"
@@ -68,4 +72,6 @@ do_compile_prepend() {
         export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/tag/.libs:${B}/gst-libs/gst/video/.libs:${B}/gst-libs/gst/audio/.libs:${B}/gst-libs/gst/rtp/.libs"
 }
 
+FILES_${PN} += "${libdir}/gstreamer-1.0/include"
+
 COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
-- 
1.9.1



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

* [PATCH 06/10] gstreamer1.0-plugins-good: Upgrade to v1.14.imx
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
                   ` (4 preceding siblings ...)
  2018-08-06  9:23 ` [PATCH 05/10] gstreamer1.0-plugins-base: " Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 07/10] gstreamer1.0-plugins-bad: " Yuqing Zhu
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

gtkglwidget: Fix build error caused by api change in base-gl

v4l2videodec: Add resolution change support
              Add HEVC support

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 ...lugins-good_1.12.imx.bb => gstreamer1.0-plugins-good_1.14.imx.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.12.imx.bb => gstreamer1.0-plugins-good_1.14.imx.bb} (96%)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.14.imx.bb
similarity index 96%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.imx.bb
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.14.imx.bb
index 6c0ec62..cdd73dd 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.14.imx.bb
@@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
                     file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
 
 GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-good.git;protocol=https"
-SRCBRANCH = "imx-1.12.x"
+SRCBRANCH = "MM_04.04.00_1805_L4.9.88_MX8QXP_BETA2"
 
 SRC_URI = " \
     ${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} \
 "
-SRCREV = "b2c850f295a0fe49310fb60784ac6af4a29bceae"
+SRCREV = "037e2bf9a152de410623235974c68be21948985a"
 
 DEFAULT_PREFERENCE = "-1"
 
@@ -62,7 +62,6 @@ EXTRA_OECONF += " \
     --disable-osx_audio \
     --disable-osx_video \
     --disable-shout2 \
-    --disable-sunaudio \
     --disable-waveform \
 "
 
-- 
1.9.1



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

* [PATCH 07/10] gstreamer1.0-plugins-bad: Upgrade to v1.14.imx
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
                   ` (5 preceding siblings ...)
  2018-08-06  9:23 ` [PATCH 06/10] gstreamer1.0-plugins-good: " Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 08/10] imx-gst1.0-plugin: Upgrade to v4.4.0 Yuqing Zhu
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Add GST_EXPORT APIs for GST1.14

kmssink:
Add HDR10 support
Add hdr metadata reset when exit playback
Add fps print when exit
Add alignment for video src crop size for dpu

waylandsink:
Add fps print
Support video crop meta using viewporter protocol
Pass dmabuf modifier to weston

Hard code scale ratio for i.mx8qxp instead of using
setplane to try scale ratio as its upscale has no limitation

Update patch to fix applying conflict

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 ...-don-t-hardcode-libtool-name-when-running.patch | 74 -------------------
 ...-don-t-hardcode-libtool-name-when-running.patch | 45 ++++++++++++
 .../configure-allow-to-disable-libssh2.patch       | 61 ++++++++++++++++
 ...imx.bb => gstreamer1.0-plugins-bad_1.14.imx.bb} | 82 ++++++++--------------
 4 files changed, 134 insertions(+), 128 deletions(-)
 delete mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch
 rename recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.12.imx.bb => gstreamer1.0-plugins-bad_1.14.imx.bb} (67%)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
deleted file mode 100644
index 8d99dc6..0000000
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 7592e793b3906355d76ca9a59f8fea2749ea2a4e Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 27 Oct 2015 14:36:58 +0200
-Subject: [PATCH] Makefile.am: don't hardcode libtool name when running
- introspection tools
-
-Upstream-Status: Pending [review on oe-core list]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
-%% original patch: 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
-
-Signed-off-by: Maxin B. John <maxin.john@intel.com>
----
- gst-libs/gst/allocators/Makefile.am | 2 +-
- gst-libs/gst/gl/Makefile.am         | 2 +-
- gst-libs/gst/insertbin/Makefile.am  | 2 +-
- gst-libs/gst/mpegts/Makefile.am     | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am
-index e50d077..623f092 100644
---- a/gst-libs/gst/allocators/Makefile.am
-+++ b/gst-libs/gst/allocators/Makefile.am
-@@ -37,7 +37,7 @@ GstBadAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstbadalloca
- 		--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
- 		--library=libgstbadallocators-@GST_API_VERSION@.la \
- 		--include=Gst-@GST_API_VERSION@ \
--		--libtool="$(top_builddir)/libtool" \
-+		--libtool="$(LIBTOOL)" \
- 		--pkg gstreamer-@GST_API_VERSION@ \
- 		--pkg-export gstreamer-badallocators-@GST_API_VERSION@ \
- 		--output $@ \
-diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am
-index 2ae4773..dfa7a7d 100644
---- a/gst-libs/gst/gl/Makefile.am
-+++ b/gst-libs/gst/gl/Makefile.am
-@@ -178,7 +178,7 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@
- 		--include=Gst-@GST_API_VERSION@ \
- 		--include=GstBase-@GST_API_VERSION@ \
- 		--include=GstVideo-@GST_API_VERSION@ \
--		--libtool="$(top_builddir)/libtool" \
-+		--libtool="$(LIBTOOL)" \
- 		--pkg gstreamer-@GST_API_VERSION@ \
- 		--pkg gstreamer-base-@GST_API_VERSION@ \
- 		--pkg gstreamer-video-@GST_API_VERSION@ \
-diff --git a/gst-libs/gst/insertbin/Makefile.am b/gst-libs/gst/insertbin/Makefile.am
-index 1f8ea30..4b98ef6 100644
---- a/gst-libs/gst/insertbin/Makefile.am
-+++ b/gst-libs/gst/insertbin/Makefile.am
-@@ -45,7 +45,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstinsertbin-@GS
- 		--library=libgstinsertbin-@GST_API_VERSION@.la \
- 		--include=Gst-@GST_API_VERSION@ \
- 		--include=GstBase-@GST_API_VERSION@ \
--		--libtool="$(top_builddir)/libtool" \
-+		--libtool="$(LIBTOOL)" \
- 		--pkg gstreamer-@GST_API_VERSION@ \
- 		--pkg gstreamer-base-@GST_API_VERSION@ \
- 		--pkg-export gstreamer-insertbin-@GST_API_VERSION@ \
-diff --git a/gst-libs/gst/mpegts/Makefile.am b/gst-libs/gst/mpegts/Makefile.am
-index aeea32e..929d9cc 100644
---- a/gst-libs/gst/mpegts/Makefile.am
-+++ b/gst-libs/gst/mpegts/Makefile.am
-@@ -79,7 +79,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_
- 		--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
- 		--library=libgstmpegts-@GST_API_VERSION@.la \
- 		--include=Gst-@GST_API_VERSION@ \
--		--libtool="$(top_builddir)/libtool" \
-+		--libtool="$(LIBTOOL)" \
- 		--pkg gstreamer-@GST_API_VERSION@ \
- 		--pkg gstreamer-video-@GST_API_VERSION@ \
- 		--pkg-export gstreamer-mpegts-@GST_API_VERSION@ \
--- 
-2.4.0
-
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
new file mode 100644
index 0000000..355341e
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
@@ -0,0 +1,45 @@
+From c890afb8a542a272acb398e8fc289b790afa08e4 Mon Sep 17 00:00:00 2001
+From: Yuqing Zhu <carol.zhu@nxp.com>
+Date: Sat, 21 Apr 2018 00:51:12 +0800
+Subject: [PATCH] Makefile.am: don't hardcode libtool name when running
+ introspection tools
+
+Do refine base on commit: 7592e793b3906355d76ca9a59f8fea2749ea2a4e
+
+Upstream-Status: Pending [review on oe-core list]
+
+Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
+---
+ gst-libs/gst/insertbin/Makefile.am | 2 +-
+ gst-libs/gst/mpegts/Makefile.am    | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gst-libs/gst/insertbin/Makefile.am b/gst-libs/gst/insertbin/Makefile.am
+index 1f8ea30..4b98ef6 100644
+--- a/gst-libs/gst/insertbin/Makefile.am
++++ b/gst-libs/gst/insertbin/Makefile.am
+@@ -45,7 +45,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstinsertbin-@GS
+ 		--library=libgstinsertbin-@GST_API_VERSION@.la \
+ 		--include=Gst-@GST_API_VERSION@ \
+ 		--include=GstBase-@GST_API_VERSION@ \
+-		--libtool="$(top_builddir)/libtool" \
++		--libtool="$(LIBTOOL)" \
+ 		--pkg gstreamer-@GST_API_VERSION@ \
+ 		--pkg gstreamer-base-@GST_API_VERSION@ \
+ 		--pkg-export gstreamer-insertbin-@GST_API_VERSION@ \
+diff --git a/gst-libs/gst/mpegts/Makefile.am b/gst-libs/gst/mpegts/Makefile.am
+index f264e33..9934a4d 100644
+--- a/gst-libs/gst/mpegts/Makefile.am
++++ b/gst-libs/gst/mpegts/Makefile.am
+@@ -82,7 +82,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_
+ 		--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
+ 		--library=libgstmpegts-@GST_API_VERSION@.la \
+ 		--include=Gst-@GST_API_VERSION@ \
+-		--libtool="$(top_builddir)/libtool" \
++		--libtool="$(LIBTOOL)" \
+ 		--pkg gstreamer-@GST_API_VERSION@ \
+ 		--pkg gstreamer-video-@GST_API_VERSION@ \
+ 		--pkg-export gstreamer-mpegts-@GST_API_VERSION@ \
+-- 
+2.7.4
+
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch
new file mode 100644
index 0000000..ad86329
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch
@@ -0,0 +1,61 @@
+From f59c5269f92d59a5296cbfeeb682d42095cd88ad Mon Sep 17 00:00:00 2001
+From: Wenzong Fan <wenzong.fan@windriver.com>
+Date: Thu, 18 Sep 2014 02:24:07 -0400
+Subject: [PATCH] gstreamer1.0-plugins-bad: allow to disable libssh2
+
+libssh2 is automatically linked to if present, this undetermined
+dependency may cause build errors like:
+
+  .../x86_64-poky-linux/4.9.0/ld: cannot find -lssh2
+
+libssh2 isn't an oe-core recipe, so allow to disable it from
+configure.
+
+Upstream-Status: Pending
+
+Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
+---
+ configure.ac |   23 +++++++++++++++++------
+ 1 file changed, 17 insertions(+), 6 deletions(-)
+
+Index: gst-plugins-bad-1.12.3/configure.ac
+===================================================================
+--- gst-plugins-bad-1.12.3.orig/configure.ac
++++ gst-plugins-bad-1.12.3/configure.ac
+@@ -2139,6 +2139,15 @@ AG_GST_CHECK_FEATURE(CHROMAPRINT, [chrom
+ ])
+ 
+ dnl *** Curl ***
++AC_ARG_ENABLE([libssh2],
++     [  --enable-libssh2		enable LIBSSH2 support @<:@default=auto@:>@],
++     [case "${enableval}" in
++       yes)  NEED_SSH2=yes ;;
++       no)   NEED_SSH2=no ;;
++       auto) NEED_SSH2=auto ;;
++       *) AC_MSG_ERROR([bad value ${enableval} for --enable-libssh2]) ;;
++     esac],[NEED_SSH2=auto])
++
+ translit(dnm, m, l) AM_CONDITIONAL(USE_CURL, true)
+ AG_GST_CHECK_FEATURE(CURL, [Curl plugin], curl, [
+   PKG_CHECK_MODULES(CURL, libcurl >= 7.35.0, [
+@@ -2161,12 +2170,14 @@ AG_GST_CHECK_FEATURE(CURL, [Curl plugin]
+   ])
+   AC_SUBST(CURL_CFLAGS)
+   AC_SUBST(CURL_LIBS)
+-  PKG_CHECK_MODULES(SSH2, libssh2 >= 1.4.3, [
+-    HAVE_SSH2="yes"
+-    AC_DEFINE(HAVE_SSH2, 1, [Define if libssh2 is available])
+-  ], [
+-    HAVE_SSH2="no"
+-  ])
++  if test "x$NEED_SSH2" != "xno"; then
++    PKG_CHECK_MODULES(SSH2, libssh2 >= 1.4.3, [
++      HAVE_SSH2="yes"
++      AC_DEFINE(HAVE_SSH2, 1, [Define if libssh2 is available])
++    ], [
++      HAVE_SSH2="no"
++    ])
++  fi
+   AM_CONDITIONAL(USE_SSH2, test "x$HAVE_SSH2" = "xyes")
+   AC_SUBST(SSH2_CFLAGS)
+   AC_SUBST(SSH2_LIBS)
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb
similarity index 67%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.imx.bb
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb
index b5623ed..313d4da 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb
@@ -6,35 +6,26 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \
 DEPENDS_append_imxgpu2d = " virtual/libg2d"
 DEPENDS_append_mx8 = " libdrm"
 
-PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)}"
-PACKAGECONFIG_GL_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
-
 PACKAGECONFIG_append_mx6q = " opencv"
 PACKAGECONFIG_append_mx6qp = " opencv"
 PACKAGECONFIG_append_mx8 = " opencv kms"
-PACKAGECONFIG_remove_mx6sl = " gles2"
 
-#revert poky fido commit:cdc2c8aeaa96b07dfc431a4cf0bf51ef7f8802a3: move EGL to Wayland
-PACKAGECONFIG[gles2]   = "--enable-gles2 --enable-egl,--disable-gles2 --disable-egl,virtual/libgles2 virtual/egl"
 PACKAGECONFIG[wayland] = "--enable-wayland --disable-x11,--disable-wayland,wayland-native wayland wayland-protocols libdrm"
 
 # Disable introspection to fix [GstGL-1.0.gir] Error
 EXTRA_OECONF_append = " --disable-introspection"
 
-EXTRA_OECONF_remove = " --disable-sdl --disable-nas --disable-libvisual --disable-xvid --disable-mimic \
-                        --disable-pvr --disable-sdltest --disable-wininet --disable-timidity \
-                        --disable-linsys --disable-sndio --disable-apexsink --disable-libssh2 \
-"
 
 GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https"
-SRCBRANCH = "MM_04.03.05_1804_L4.9.88_MX7ULP_GA"
+SRCBRANCH = "MM_04.04.00_1805_L4.9.88_MX8QXP_BETA2"
 
 SRC_URI = " \
     ${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} \
+    file://configure-allow-to-disable-libssh2.patch \
     file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \
 "
 
-SRCREV = "3bf09ef9cda8220b53459b45fe5384a99a7b1c6b"
+SRCREV = "07ad0bb676a16c2dffb0f0e415a873f0924cfdc0"
 
 DEFAULT_PREFERENCE = "-1"
 
@@ -48,33 +39,27 @@ FILES_${PN}-opengl += "/usr/share/*.fs"
 PACKAGE_ARCH_imxpxp = "${MACHINE_SOCARCH}"
 PACKAGE_ARCH_mx8 = "${MACHINE_SOCARCH}"
 
-# Fix libgstbadion-1.0.so.0 which is under built directory cannot be found
-do_compile_prepend () {
-    export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/ion/.libs"
-}
-
 S = "${WORKDIR}/git"
 
 LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+"
 
-DEPENDS += "gstreamer1.0-plugins-base libpng jpeg"
+DEPENDS += "gstreamer1.0-plugins-base jpeg"
 
 inherit gettext bluetooth
 
-# opengl packageconfig factored out to make it easy for distros
-# and BSP layers to pick either (desktop) opengl, gles2, or no GL
-PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
-
-# gtk is not in the PACKAGECONFIG variable by default until
-# the transition to gtk+3 is finished
 PACKAGECONFIG ??= " \
     ${GSTREAMER_ORC} \
-    ${PACKAGECONFIG_GL} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \
-    bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile uvch264 webp \
+    ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \
+    bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile ttml uvch264 webp \
 "
+
+# the gl packageconfig enables OpenGL elements that haven't been ported
+# to -base yet. They depend on the gstgl library in -base, so we do
+# not add GL dependencies here, since these are taken care of in -base.
+
 PACKAGECONFIG[assrender]       = "--enable-assrender,--disable-assrender,libass"
 PACKAGECONFIG[bluez]           = "--enable-bluez,--disable-bluez,${BLUEZ}"
 PACKAGECONFIG[bz2]             = "--enable-bz2,--disable-bz2,bzip2"
@@ -83,22 +68,21 @@ PACKAGECONFIG[dash]            = "--enable-dash,--disable-dash,libxml2"
 PACKAGECONFIG[dc1394]          = "--enable-dc1394,--disable-dc1394,libdc1394"
 PACKAGECONFIG[directfb]        = "--enable-directfb,--disable-directfb,directfb"
 PACKAGECONFIG[dtls]            = "--enable-dtls,--disable-dtls,openssl"
-PACKAGECONFIG[egl]             = "--enable-egl,--disable-egl,virtual/egl"
 PACKAGECONFIG[faac]            = "--enable-faac,--disable-faac,faac"
 PACKAGECONFIG[faad]            = "--enable-faad,--disable-faad,faad2"
 PACKAGECONFIG[flite]           = "--enable-flite,--disable-flite,flite-alsa"
 PACKAGECONFIG[fluidsynth]      = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth"
-PACKAGECONFIG[gles2]           = "--enable-gles2,--disable-gles2,virtual/libgles2"
-PACKAGECONFIG[gtk]             = "--enable-gtk3,--disable-gtk3,gtk+3"
 PACKAGECONFIG[hls]             = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle"
+PACKAGECONFIG[gl]              = "--enable-gl,--disable-gl,"
 PACKAGECONFIG[kms]             = "--enable-kms,--disable-kms,libdrm"
+PACKAGECONFIG[libde265]        = "--enable-libde265,--disable-libde265,libde265"
 PACKAGECONFIG[libmms]          = "--enable-libmms,--disable-libmms,libmms"
 PACKAGECONFIG[libssh2]         = "--enable-libssh2,--disable-libssh2,libssh2"
 PACKAGECONFIG[modplug]         = "--enable-modplug,--disable-modplug,libmodplug"
 PACKAGECONFIG[neon]            = "--enable-neon,--disable-neon,neon"
 PACKAGECONFIG[openal]          = "--enable-openal,--disable-openal,openal-soft"
 PACKAGECONFIG[opencv]          = "--enable-opencv,--disable-opencv,opencv"
-PACKAGECONFIG[opengl]          = "--enable-opengl,--disable-opengl,virtual/libgl libglu"
+PACKAGECONFIG[openh264]        = "--enable-openh264,--disable-openh264,openh264"
 PACKAGECONFIG[openjpeg]        = "--enable-openjpeg,--disable-openjpeg,openjpeg"
 # the opus encoder/decoder elements are now in the -base package,
 # but the opus parser remains in -bad
@@ -107,41 +91,41 @@ PACKAGECONFIG[resindvd]        = "--enable-resindvd,--disable-resindvd,libdvdrea
 PACKAGECONFIG[rsvg]            = "--enable-rsvg,--disable-rsvg,librsvg"
 PACKAGECONFIG[rtmp]            = "--enable-rtmp,--disable-rtmp,rtmpdump"
 PACKAGECONFIG[sbc]             = "--enable-sbc,--disable-sbc,sbc"
-PACKAGECONFIG[schroedinger]    = "--enable-schro,--disable-schro,schroedinger"
 PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2"
 PACKAGECONFIG[sndfile]         = "--enable-sndfile,--disable-sndfile,libsndfile1"
 PACKAGECONFIG[srtp]            = "--enable-srtp,--disable-srtp,libsrtp"
+PACKAGECONFIG[tinyalsa]        = "--enable-tinyalsa,--disable-tinyalsa,tinyalsa"
+PACKAGECONFIG[ttml]            = "--enable-ttml,--disable-ttml,libxml2 pango cairo"
 PACKAGECONFIG[uvch264]         = "--enable-uvch264,--disable-uvch264,libusb1 libgudev"
 PACKAGECONFIG[voaacenc]        = "--enable-voaacenc,--disable-voaacenc,vo-aacenc"
 PACKAGECONFIG[voamrwbenc]      = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc"
+PACKAGECONFIG[vulkan]          = "--enable-vulkan,--disable-vulkan,vulkan"
 PACKAGECONFIG[wayland]         = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm"
 PACKAGECONFIG[webp]            = "--enable-webp,--disable-webp,libwebp"
+PACKAGECONFIG[webrtc]          = "--enable-webrtc,--disable-webrtc,libnice"
+PACKAGECONFIG[webrtcdsp]       = "--enable-webrtcdsp,--disable-webrtcdsp,webrtc-audio-processing"
 
 # these plugins have no corresponding library in OE-core or meta-openembedded:
 #   openni2 winks direct3d directsound winscreencap acm apple_media iqa
-#   android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa libde265
-#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openh264 opensles soundtouch spandsp
-#   spc teletextdec tinyalsa vdpau wasapi x265 zbar webrtcdsp
-
-# qt5 support is disabled, because it is not present in OE core, and requires more work than
-# just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths).
-# This is better done in a separate qt5 layer (which then should add a "qt5" packageconfig
-# in a gstreamer1.0-plugins-bad bbappend).
+#   android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa
+#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openmpt opensles soundtouch
+#   spandsp spc teletextdec vdpau wasapi x265 zbar
 
 EXTRA_OECONF += " \
     --enable-decklink \
     --enable-dvb \
     --enable-fbdev \
+    --enable-ipcpipeline \
     --enable-netsim \
     --enable-shm \
     --enable-vcd \
     --disable-acm \
     --disable-android_media \
+    --disable-aom \
     --disable-apple_media \
     --disable-avc \
     --disable-bs2b \
     --disable-chromaprint \
-    --disable-cocoa \
     --disable-daala \
     --disable-direct3d \
     --disable-directsound \
@@ -152,7 +136,6 @@ EXTRA_OECONF += " \
     --disable-iqa \
     --disable-kate \
     --disable-ladspa \
-    --disable-libde265 \
     --disable-lv2 \
     --disable-mpeg2enc \
     --disable-mplex \
@@ -161,19 +144,16 @@ EXTRA_OECONF += " \
     --disable-nvenc \
     --disable-ofa \
     --disable-openexr \
-    --disable-openh264 \
+    --disable-openmpt \
     --disable-openni2 \
     --disable-opensles \
-    --disable-qt \
     --disable-soundtouch \
     --disable-spandsp \
     --disable-spc \
+    --disable-srt \
     --disable-teletextdec \
-    --disable-tinyalsa \
     --disable-vdpau \
-    --disable-vulkan \
     --disable-wasapi \
-    --disable-webrtcdsp \
     --disable-wildmidi \
     --disable-winks \
     --disable-winscreencap \
@@ -181,19 +161,13 @@ EXTRA_OECONF += " \
     --disable-zbar \
     ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \
 "
-
 export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}"
 
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"
 
-FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h"
 FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs"
 FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*"
 FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs"
 
-do_compile_prepend() {
-    export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/allocators/.libs"
-}
-
 COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
-- 
1.9.1



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

* [PATCH 08/10] imx-gst1.0-plugin: Upgrade to v4.4.0
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
                   ` (6 preceding siblings ...)
  2018-08-06  9:23 ` [PATCH 07/10] gstreamer1.0-plugins-bad: " Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 09/10] pulseaudio: Add i.MX8 support Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default Yuqing Zhu
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Upgrade EULA to v24

Update plugin define as macro GST_PLUGIN_DEFINE in GST1.14 is updated

Remove link to libgstbadbase in compositor when compiling with GST1.14
(GST-1.14 has moved badbase into libgstbase)

Imxcompositor update for GST1.14

G2d support VPU tiled format

Set default video sink to g2d convert link with waylandsink for 8qxp

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 .../{imx-gst1.0-plugin_4.3.5.bb => imx-gst1.0-plugin_4.4.0.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename recipes-multimedia/gstreamer/{imx-gst1.0-plugin_4.3.5.bb => imx-gst1.0-plugin_4.4.0.bb} (96%)

diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.3.5.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.4.0.bb
similarity index 96%
rename from recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.3.5.bb
rename to recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.4.0.bb
index 98e9efb..00182bb 100644
--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.3.5.bb
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.4.0.bb
@@ -1,5 +1,5 @@
 # Copyright (C) 2014,2016 Freescale Semiconductor
-# Copyright 2017 NXP
+# Copyright 2017-2018 NXP
 # Copyright (C) 2012-2015 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
@@ -21,10 +21,10 @@ LIC_FILES_CHKSUM = "file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
                     file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"
 
 IMXGST_SRC ?= "git://source.codeaurora.org/external/imx/imx-gst1.0-plugin.git;protocol=https"
-SRCBRANCH = "MM_04.03.05_1804_L4.9.88_MX7ULP_GA"
+SRCBRANCH = "MM_04.04.00_1805_L4.9.88_MX8QXP_BETA2"
 
 SRC_URI = "${IMXGST_SRC};branch=${SRCBRANCH}"
-SRCREV = "38d026ed5269f7d61b8adb585f2d8aea86d9c4d7"
+SRCREV = "ded3b04018ca71306da9bc38b0037b9ea99abd29"
 
 S = "${WORKDIR}/git"
 
-- 
1.9.1



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

* [PATCH 09/10] pulseaudio: Add i.MX8 support
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
                   ` (7 preceding siblings ...)
  2018-08-06  9:23 ` [PATCH 08/10] imx-gst1.0-plugin: Upgrade to v4.4.0 Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-08-06  9:23 ` [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default Yuqing Zhu
  9 siblings, 0 replies; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
index b9e7d47..78a1786 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
+++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
@@ -7,6 +7,7 @@ SRC_URI_append_mx6 = " file://daemon.conf file://default.pa"
 SRC_URI_append_mx7 = " file://daemon.conf file://default.pa \
                        file://pulseaudio-remove-the-control-for-speaker-headphone-widge.patch \
 "
+SRC_URI_append_mx8 = " file://daemon.conf file://default.pa"
 
 do_install_append() {
     if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; then
@@ -17,3 +18,4 @@ do_install_append() {
 
 PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"
 PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"
+PACKAGE_ARCH_mx8 = "${MACHINE_SOCARCH}"
-- 
1.9.1



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

* [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default
  2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
                   ` (8 preceding siblings ...)
  2018-08-06  9:23 ` [PATCH 09/10] pulseaudio: Add i.MX8 support Yuqing Zhu
@ 2018-08-06  9:23 ` Yuqing Zhu
  2018-09-07 20:40   ` Otavio Salvador
  9 siblings, 1 reply; 15+ messages in thread
From: Yuqing Zhu @ 2018-08-06  9:23 UTC (permalink / raw)
  To: meta-freescale; +Cc: Yuqing Zhu

Start pulseaudio as root.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
---
 recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
index 78a1786..900ba96 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
+++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
@@ -9,6 +9,9 @@ SRC_URI_append_mx7 = " file://daemon.conf file://default.pa \
 "
 SRC_URI_append_mx8 = " file://daemon.conf file://default.pa"
 
+# Enable allow-autospawn-for-root as default
+PACKAGECONFIG_append = " autospawn-for-root"
+
 do_install_append() {
     if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; then
         install -m 0644 ${WORKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf
-- 
1.9.1



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

* Re: [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default
  2018-08-06  9:23 ` [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default Yuqing Zhu
@ 2018-09-07 20:40   ` Otavio Salvador
  2018-09-10  7:58     ` Carol Zhu
  0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2018-09-07 20:40 UTC (permalink / raw)
  To: Yuqing Zhu; +Cc: meta-freescale Mailing List

On Mon, Aug 6, 2018 at 1:55 PM Yuqing Zhu <carol.zhu@nxp.com> wrote:
>
> Start pulseaudio as root.
>
> Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>

This is not related to the BSP but a behavior setting. If you really
want to enable it, do it inside the fsl distro.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


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

* Re: [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default
  2018-09-07 20:40   ` Otavio Salvador
@ 2018-09-10  7:58     ` Carol Zhu
  2018-09-10 13:53       ` Otavio Salvador
  0 siblings, 1 reply; 15+ messages in thread
From: Carol Zhu @ 2018-09-10  7:58 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

Hi Otavio,

We rely on PulseAudio's autospawn feature to automatically start the daemon.
Our boards have root as default user, so it's useful to be able to use PulseAudio autospawn for root.

B.R.
Carol
-----Original Message-----
From: Otavio Salvador <otavio.salvador@ossystems.com.br> 
Sent: 2018年9月8日 4:41
To: Carol Zhu <carol.zhu@nxp.com>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: [meta-freescale] [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default

On Mon, Aug 6, 2018 at 1:55 PM Yuqing Zhu <carol.zhu@nxp.com> wrote:
>
> Start pulseaudio as root.
>
> Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>

This is not related to the BSP but a behavior setting. If you really want to enable it, do it inside the fsl distro.

-- 
Otavio Salvador                             O.S. Systems
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ossystems.com.br&amp;data=02%7C01%7Ccarol.zhu%40nxp.com%7Ca8c6731c05c24fc2ca1f08d6150230f6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636719496496602171&amp;sdata=iSjwgFeJpB%2FLrhqfSdq5Wjp77VwomGWNb%2B63ARt0Ric%3D&amp;reserved=0        https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcode.ossystems.com.br&amp;data=02%7C01%7Ccarol.zhu%40nxp.com%7Ca8c6731c05c24fc2ca1f08d6150230f6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636719496496602171&amp;sdata=peDxhx5063pciHdGI%2F4r7Ux9SzfHNyN8fDDhg6Aftvk%3D&amp;reserved=0
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

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

* Re: [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default
  2018-09-10  7:58     ` Carol Zhu
@ 2018-09-10 13:53       ` Otavio Salvador
  2018-09-10 15:11         ` Carol Zhu
  0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2018-09-10 13:53 UTC (permalink / raw)
  To: Yuqing Zhu; +Cc: meta-freescale Mailing List

On Mon, Sep 10, 2018 at 4:58 AM Carol Zhu <carol.zhu@nxp.com> wrote:
> We rely on PulseAudio's autospawn feature to automatically start the daemon.
> Our boards have root as default user, so it's useful to be able to use PulseAudio autospawn for root.

I know but this is a distribution settings and not a BSP one. It can
be overriden in fsl-base.inc using:

PACKAGECONFIG_pn-pulseaudio_append = " ..."

and then you don't leak distro settings in meta-freescale.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


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

* Re: [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default
  2018-09-10 13:53       ` Otavio Salvador
@ 2018-09-10 15:11         ` Carol Zhu
  0 siblings, 0 replies; 15+ messages in thread
From: Carol Zhu @ 2018-09-10 15:11 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

Ok, I'll send a new patch.

B.R.
Carol
-----Original Message-----
From: Otavio Salvador <otavio.salvador@ossystems.com.br> 
Sent: 2018年9月10日 21:53
To: Carol Zhu <carol.zhu@nxp.com>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: [meta-freescale] [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default

On Mon, Sep 10, 2018 at 4:58 AM Carol Zhu <carol.zhu@nxp.com> wrote:
> We rely on PulseAudio's autospawn feature to automatically start the daemon.
> Our boards have root as default user, so it's useful to be able to use PulseAudio autospawn for root.

I know but this is a distribution settings and not a BSP one. It can be overriden in fsl-base.inc using:

PACKAGECONFIG_pn-pulseaudio_append = " ..."

and then you don't leak distro settings in meta-freescale.

-- 
Otavio Salvador                             O.S. Systems
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ossystems.com.br&amp;data=02%7C01%7Ccarol.zhu%40nxp.com%7Cd43781d310a144149cbe08d61724c8c7%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636721844091232254&amp;sdata=de%2BbwE5Dp6mlpvMiDofqPnqDke7TS2b24IrZ5%2B7VfiI%3D&amp;reserved=0        https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcode.ossystems.com.br&amp;data=02%7C01%7Ccarol.zhu%40nxp.com%7Cd43781d310a144149cbe08d61724c8c7%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636721844091232254&amp;sdata=B3Vqs%2BpE%2Faoi6t99wSJAJBMVa3WS8nCvaOIltSBfK8M%3D&amp;reserved=0
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

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

end of thread, other threads:[~2018-09-11  3:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06  9:23 [PATCH 00/10] Upstream Multimedia patches for L4.9.88-2.2.0 i.MX8QXP Beta2 release Yuqing Zhu
2018-08-06  9:23 ` [PATCH 01/10] imx-codec: Upgrade to v4.4.0 Yuqing Zhu
2018-08-06  9:23 ` [PATCH 02/10] imx-parser: " Yuqing Zhu
2018-08-06  9:23 ` [PATCH 03/10] imx-vpuwrap: " Yuqing Zhu
2018-08-06  9:23 ` [PATCH 04/10] gstreamer1.0: Upgrade to v1.14.imx Yuqing Zhu
2018-08-06  9:23 ` [PATCH 05/10] gstreamer1.0-plugins-base: " Yuqing Zhu
2018-08-06  9:23 ` [PATCH 06/10] gstreamer1.0-plugins-good: " Yuqing Zhu
2018-08-06  9:23 ` [PATCH 07/10] gstreamer1.0-plugins-bad: " Yuqing Zhu
2018-08-06  9:23 ` [PATCH 08/10] imx-gst1.0-plugin: Upgrade to v4.4.0 Yuqing Zhu
2018-08-06  9:23 ` [PATCH 09/10] pulseaudio: Add i.MX8 support Yuqing Zhu
2018-08-06  9:23 ` [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default Yuqing Zhu
2018-09-07 20:40   ` Otavio Salvador
2018-09-10  7:58     ` Carol Zhu
2018-09-10 13:53       ` Otavio Salvador
2018-09-10 15:11         ` Carol Zhu

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.