]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0: update to NXP release MM_04.05.05_2005_L5.4.24
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Tue, 1 Sep 2020 20:21:07 +0000 (20:21 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 24 Sep 2020 02:42:37 +0000 (23:42 -0300)
Align recipes to match NXP release 5.4.24-2.1.0 by updating the branch to
MM_04.05.05_2005_L5.4.24.

Following notes are additions to the regular bump of recipes:
--------------------------
gstreamer1.0-plugins-bad:
Drop patches applied upstream and refresh all patches in layer with
devtool to clean-up fuzz during apply.

Backport patch to be able to compile with OpenCV 4.4.0 provided in
upstream OE-Core.

imx-gst1.0-plugin:
Introduce the patch to solve compiler error reported when -fcommon is
used in GCC10 configuration.
--------------------------

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
15 files changed:
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-ext-wayland-fix-meson-build-in-nxp-fork.patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-fix-build-with-opencv-enabled-and-opencv4.-Fix.patch [deleted file]
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-opencv-allow-compilation-against-4.3.x.patch [deleted file]
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-opencv-allow-compilation-against-4.4.x.patch [new file with mode: 0644]
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/ensure-valid-sentinels-for-gst_structure_get-etc.patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.imx.bb
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.imx.bb
recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.imx.bb
recipes-multimedia/gstreamer/gstreamer1.0_1.16.imx.bb
recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-fsl_parser.h-fix-compiler-error-with-fcommon.patch [new file with mode: 0644]
recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.3.bb

index 088976d8e65e9ee062f26feae208819ee2532dce..5e6a1c05c5efabf16fb4e3f0c34495d08e4df945 100644 (file)
@@ -1,4 +1,4 @@
-From e637d9f6bb961afcecb74faa6dff38562f6ce796 Mon Sep 17 00:00:00 2001
+From 9e092d8976db034a2d6848d738c4f73cc001fd09 Mon Sep 17 00:00:00 2001
 From: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
 Date: Sun, 26 Jan 2020 10:45:28 +0000
 Subject: [PATCH] ext/wayland: fix meson build in nxp fork
@@ -9,17 +9,18 @@ Subject: [PATCH] ext/wayland: fix meson build in nxp fork
 Upstream-Status: Pending
 
 Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
+
 ---
  ext/wayland/meson.build | 24 ++++++++++++++++++++++++
  1 file changed, 24 insertions(+)
 
 diff --git a/ext/wayland/meson.build b/ext/wayland/meson.build
-index fa6fbf42f..eb425b14f 100644
+index 3c377eefb..98a7cb76f 100644
 --- a/ext/wayland/meson.build
 +++ b/ext/wayland/meson.build
-@@ -8,6 +8,11 @@ wl_sources = [
-     'wllinuxdmabuf.c'
- ]
+@@ -10,6 +10,11 @@ wl_sources = [
+ libdrm_dep = dependency('libdrm', version: '>= 2.4.55', required:get_option('wayland'))
  
 +imx_wl_sources = [
 +    'wlutils.c',
@@ -29,7 +30,7 @@ index fa6fbf42f..eb425b14f 100644
  if use_wayland
      protocols_datadir = wl_protocol_dep.get_pkgconfig_variable('pkgdatadir')
  
-@@ -19,6 +24,25 @@ if use_wayland
+@@ -21,6 +26,25 @@ if use_wayland
           'fullscreen-shell-unstable-v1-protocol.c', 'fullscreen-shell-unstable-v1-client-protocol.h'],
          ['/stable/xdg-shell/xdg-shell.xml', 'xdg-shell-protocol.c', 'xdg-shell-client-protocol.h'],
      ]
@@ -55,6 +56,3 @@ index fa6fbf42f..eb425b14f 100644
      protocols_files = []
  
      foreach protodef: protocol_defs
--- 
-2.17.1
-
index 13218520230f7bd11e53e8392d4e468bf4791f70..4f9041dc107be8ecb7510ef067fb371aa357230d 100644 (file)
@@ -1,8 +1,8 @@
-From 97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19 Mon Sep 17 00:00:00 2001
+From 69cff1595f9e0014c582c6f540d69d86d5e824ff Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
 Date: Fri, 18 Oct 2019 00:39:12 +0100
-Subject: [PATCH 1/2] meson: build gir even when cross-compiling if
introspection was enabled explicitly
+Subject: [PATCH] meson: build gir even when cross-compiling if introspection
+ was enabled explicitly
 
 This can be made to work in certain circumstances when
 cross-compiling, so default to not building g-i stuff
@@ -14,15 +14,16 @@ See gstreamer/gstreamer#454 and gstreamer/gstreamer#381.
 Upstream-Status: Backport [97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19]
 
 Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
+
 ---
  meson.build | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/meson.build b/meson.build
-index 67aeeb4d0..7b3314bd9 100644
+index 2b492faea..bea89b23d 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -411,7 +411,7 @@ python3 = import('python').find_installation()
+@@ -405,7 +405,7 @@ python3 = import('python').find_installation()
  
  gir = find_program('g-ir-scanner', required : get_option('introspection'))
  gnome = import('gnome')
@@ -31,6 +32,3 @@ index 67aeeb4d0..7b3314bd9 100644
  gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \
      'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
      'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \
--- 
-2.17.1
-
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-fix-build-with-opencv-enabled-and-opencv4.-Fix.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-fix-build-with-opencv-enabled-and-opencv4.-Fix.patch
deleted file mode 100644 (file)
index 874b8ab..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From f41f356aebee916910453031c06c111000f2f261 Mon Sep 17 00:00:00 2001
-From: Christoph Reiter <reiter.christoph@gmail.com>
-Date: Sun, 5 May 2019 22:11:16 +0200
-Subject: [PATCH] meson: fix build with opencv=enabled and opencv4. Fixes #964
-
-Having the opencv feature enabled would lead to the opencv3 dependency
-being required which failed with only opencv4 being available.
-
-Instead don't require anything and error out at the end if the feature was enabled
-but no dependency was found.
-
-Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/commit/22c6a4085f8792d8af0cdabfe1664d55ca2dee11]
-
-(cherry picked from commit 22c6a4085f8792d8af0cdabfe1664d55ca2dee11)
-Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
----
- gst-libs/gst/opencv/meson.build | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/gst-libs/gst/opencv/meson.build b/gst-libs/gst/opencv/meson.build
-index 3fd472fda..8dc2ad99b 100644
---- a/gst-libs/gst/opencv/meson.build
-+++ b/gst-libs/gst/opencv/meson.build
-@@ -9,9 +9,9 @@ opencv_headers = [
-   'gstopencvvideofilter.h',
- ]
--opencv_dep = dependency('opencv', version : '>= 3.0.0', required : get_option('opencv'))
-+opencv_dep = dependency('opencv', version : '>= 3.0.0', required : false)
- if not opencv_dep.found()
--  opencv_dep = dependency('opencv4', version : '>= 4.0.0', required : get_option('opencv'))
-+  opencv_dep = dependency('opencv4', version : '>= 4.0.0', required : false)
- endif
- if opencv_dep.found()
-   gstopencv = library('gstopencv-' + api_version,
-@@ -30,4 +30,6 @@ if opencv_dep.found()
-     dependencies : [gstvideo_dep, opencv_dep])
-   install_headers(opencv_headers, subdir : 'gstreamer-1.0/gst/opencv')
-+elif get_option('opencv').enabled()
-+  error('OpenCV support enabled but required dependencies were not found.')
- endif
--- 
-2.17.1
-
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-opencv-allow-compilation-against-4.3.x.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-opencv-allow-compilation-against-4.3.x.patch
deleted file mode 100644 (file)
index a9e1bd0..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From cfb196925312b3c3d7a19dbb9a3ce64d20d66409 Mon Sep 17 00:00:00 2001
-From: Andrey Zhizhikin <andrey.z@gmail.com>
-Date: Sat, 9 May 2020 19:56:51 +0000
-Subject: [PATCH] opencv: allow compilation against 4.3.x
-
-Backport upstream commit 4cf362e2df0fb809ea0f21dd4a6fbb8b46ca54ef to NXP
-fork of gstreamer1.0-plugins-bad.
-
-Original commit link:
-https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/commit/4cf362e2df0fb809ea0f21dd4a6fbb8b46ca54ef
-
-Upstream-Status: Backport [4cf362e2df0fb809ea0f21dd4a6fbb8b46ca54ef]
-
-Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
----
- ext/opencv/meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build
-index d0ce1d3ee..05b142edc 100644
---- a/ext/opencv/meson.build
-+++ b/ext/opencv/meson.build
-@@ -65,7 +65,7 @@ if opencv_found
-     endif
-   endforeach
- else
--  opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.1.0'], required : false)
-+  opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.4.0'], required : false)
-   opencv_found = opencv_dep.found()
-   if opencv_found
-     foreach h : libopencv4_headers
--- 
-2.17.1
-
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-opencv-allow-compilation-against-4.4.x.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-opencv-allow-compilation-against-4.4.x.patch
new file mode 100644 (file)
index 0000000..525f4a4
--- /dev/null
@@ -0,0 +1,27 @@
+From a4df38174d33dc1e620ea535e16cac406ff59da2 Mon Sep 17 00:00:00 2001
+From: Nicola Murino <nicola.murino@gmail.com>
+Date: Fri, 31 Jul 2020 23:38:56 +0200
+Subject: [PATCH] opencv: allow compilation against 4.4.x
+
+Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1482>
+
+Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/commit/8544f3928ea46d2da3f27dc65576e8baf42a46d]
+Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
+
+---
+ ext/opencv/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build
+index a26403482..b3270e540 100644
+--- a/ext/opencv/meson.build
++++ b/ext/opencv/meson.build
+@@ -65,7 +65,7 @@ if opencv_found
+     endif
+   endforeach
+ else
+-  opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.2.0'], required : false)
++  opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.5.0'], required : false)
+   opencv_found = opencv_dep.found()
+   if opencv_found
+     foreach h : libopencv4_headers
index 32261279a5d0900ff4eabcec443dc1f6b9fba0f4..da2dd8bf307022525ab9c293e944fd89bce69ed8 100644 (file)
@@ -1,4 +1,4 @@
-From 72561a0fca562d03567ace7b4cfc94992cd6525c Mon Sep 17 00:00:00 2001
+From 05f9a7a9025cb1c6a5592ba998ab95d565f9c76f Mon Sep 17 00:00:00 2001
 From: Andre McCurdy <armccurdy@gmail.com>
 Date: Wed, 3 Feb 2016 18:05:41 -0800
 Subject: [PATCH] avoid including <sys/poll.h> directly
@@ -8,12 +8,13 @@ musl libc generates warnings if <sys/poll.h> is included directly.
 Upstream-Status: Pending
 
 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
+
 ---
  sys/dvb/gstdvbsrc.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
-index b93255f..49f145a 100644
+index bd07369c3..ebfbe4947 100644
 --- a/sys/dvb/gstdvbsrc.c
 +++ b/sys/dvb/gstdvbsrc.c
 @@ -97,7 +97,7 @@
@@ -25,6 +26,3 @@ index b93255f..49f145a 100644
  #include <fcntl.h>
  #include <errno.h>
  #include <stdio.h>
--- 
-1.9.1
-
index 2d5389d9535dd9a6b58ebe4bb3641f158b2bb139..c25a11e98eaae9ae6fc55fece9a36ce94e98986c 100644 (file)
@@ -1,4 +1,4 @@
-From 2262ba4b686d5cc0d3e894707fe1d31619a3a8f1 Mon Sep 17 00:00:00 2001
+From f9a8b71897af39640894915a5f202d0027124f57 Mon Sep 17 00:00:00 2001
 From: Andre McCurdy <armccurdy@gmail.com>
 Date: Tue, 9 Feb 2016 14:00:00 -0800
 Subject: [PATCH] ensure valid sentinals for gst_structure_get() etc
@@ -17,17 +17,18 @@ without an explicit cast to a pointer type.
 Upstream-Status: Pending
 
 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
+
 ---
  sys/decklink/gstdecklink.cpp          | 10 +++++-----
  sys/decklink/gstdecklinkaudiosrc.cpp  |  2 +-
  sys/decklink/gstdecklinkvideosink.cpp |  2 +-
  3 files changed, 7 insertions(+), 7 deletions(-)
 
-Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklink.cpp
-===================================================================
---- gst-plugins-bad-1.10.2.orig/sys/decklink/gstdecklink.cpp
-+++ gst-plugins-bad-1.10.2/sys/decklink/gstdecklink.cpp
-@@ -617,7 +617,7 @@ gst_decklink_mode_get_structure (GstDeck
+diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp
+index 464b0de9d..9fb7246d3 100644
+--- a/sys/decklink/gstdecklink.cpp
++++ b/sys/decklink/gstdecklink.cpp
+@@ -617,7 +617,7 @@ gst_decklink_mode_get_structure (GstDecklinkModeEnum e, BMDPixelFormat f,
        "pixel-aspect-ratio", GST_TYPE_FRACTION, mode->par_n, mode->par_d,
        "interlace-mode", G_TYPE_STRING,
        mode->interlaced ? "interleaved" : "progressive",
@@ -36,7 +37,7 @@ Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklink.cpp
  
    if (input && mode->interlaced) {
      if (mode->tff)
-@@ -632,16 +632,16 @@ gst_decklink_mode_get_structure (GstDeck
+@@ -632,16 +632,16 @@ gst_decklink_mode_get_structure (GstDecklinkModeEnum e, BMDPixelFormat f,
      case bmdFormat8BitYUV:     /* '2vuy' */
        gst_structure_set (s, "format", G_TYPE_STRING, "UYVY",
            "colorimetry", G_TYPE_STRING, mode->colorimetry,
@@ -57,11 +58,11 @@ Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklink.cpp
        break;
      case bmdFormat10BitRGB:    /* 'r210' Big-endian RGB 10-bit per component with SMPTE video levels (64-960). Packed as 2:10:10:10 */
      case bmdFormat12BitRGB:    /* 'R12B' Big-endian RGB 12-bit per component with full range (0-4095). Packed as 12-bit per component */
-Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkaudiosrc.cpp
-===================================================================
---- gst-plugins-bad-1.10.2.orig/sys/decklink/gstdecklinkaudiosrc.cpp
-+++ gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkaudiosrc.cpp
-@@ -387,7 +387,7 @@ gst_decklink_audio_src_set_caps (GstBase
+diff --git a/sys/decklink/gstdecklinkaudiosrc.cpp b/sys/decklink/gstdecklinkaudiosrc.cpp
+index 2fef934c8..c47229abf 100644
+--- a/sys/decklink/gstdecklinkaudiosrc.cpp
++++ b/sys/decklink/gstdecklinkaudiosrc.cpp
+@@ -379,7 +379,7 @@ gst_decklink_audio_src_start (GstDecklinkAudioSrc * self)
        g_mutex_unlock (&self->input->lock);
  
        if (videosrc) {
@@ -70,11 +71,11 @@ Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkaudiosrc.cpp
          gst_object_unref (videosrc);
  
          switch (vconn) {
-Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkvideosink.cpp
-===================================================================
---- gst-plugins-bad-1.10.2.orig/sys/decklink/gstdecklinkvideosink.cpp
-+++ gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkvideosink.cpp
-@@ -285,7 +285,7 @@ reset_framerate (GstCapsFeatures * featu
+diff --git a/sys/decklink/gstdecklinkvideosink.cpp b/sys/decklink/gstdecklinkvideosink.cpp
+index 7aea3f7a2..4864508bb 100644
+--- a/sys/decklink/gstdecklinkvideosink.cpp
++++ b/sys/decklink/gstdecklinkvideosink.cpp
+@@ -285,7 +285,7 @@ reset_framerate (GstCapsFeatures * features, GstStructure * structure,
      gpointer user_data)
  {
    gst_structure_set (structure, "framerate", GST_TYPE_FRACTION_RANGE, 0, 1,
index 73681f100291782ceed66df82a52e3509058385c..7758300eb116258ee5761f33b13aaa8125da3259 100644 (file)
@@ -1,4 +1,4 @@
-From a67781000e82bd9ae3813da29401e8c0c852328a Mon Sep 17 00:00:00 2001
+From e7914eb0baa3530a5075c0d3db7936ccddd8e3fe Mon Sep 17 00:00:00 2001
 From: Andre McCurdy <armccurdy@gmail.com>
 Date: Tue, 26 Jan 2016 15:16:01 -0800
 Subject: [PATCH] fix maybe-uninitialized warnings when compiling with -Os
@@ -6,12 +6,13 @@ Subject: [PATCH] fix maybe-uninitialized warnings when compiling with -Os
 Upstream-Status: Pending
 
 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
+
 ---
  gst-libs/gst/codecparsers/gstvc1parser.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c
-index fd16ee0..ddb890c 100644
+index ac579712d..1686f6081 100644
 --- a/gst-libs/gst/codecparsers/gstvc1parser.c
 +++ b/gst-libs/gst/codecparsers/gstvc1parser.c
 @@ -1730,7 +1730,7 @@ gst_vc1_parse_sequence_layer (const guint8 * data, gsize size,
@@ -23,6 +24,3 @@ index fd16ee0..ddb890c 100644
    guint8 structA[8] = { 0, };
    guint8 structB[12] = { 0, };
    GstBitReader br;
--- 
-1.9.1
-
index 3fe3f649762122d46d1652f315ee1033d33cd344..dc3a8c693a87e2ef20366c449f16d15f18f17e08 100644 (file)
@@ -1,7 +1,7 @@
-From 5830de9b1c8965683025082aeed7ccaf1dd85969 Mon Sep 17 00:00:00 2001
+From 387886b05f4ae0de9b7faf1f9ca66040d38d19ee Mon Sep 17 00:00:00 2001
 From: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
 Date: Sun, 26 Jan 2020 19:55:06 +0000
-Subject: [PATCH 2/2] opencv: resolve missing opencv data dir in yocto build
+Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build
 
 When Yocto build is performed, opencv searches for data dir using simple
 test command, and this fails because pkg-config provides an absolute
@@ -11,6 +11,7 @@ in order for the 'test' utility to pick up the absolute path.
 Upstream-Status: Inappropriate [OE-specific]
 
 Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
+
 ---
  ext/opencv/meson.build | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)
@@ -44,6 +45,3 @@ index f38b55dfe..a26403482 100644
        if r.returncode() == 0
          gstopencv_cargs += '-DOPENCV_PATH_NAME="opencv4"'
        else
--- 
-2.17.1
-
index 59aeca112cf257cd32e922986b612f2000460e7c..cf0b8263c994512223927d02a6fa8b12e3522293 100644 (file)
@@ -13,20 +13,19 @@ PACKAGE_ARCH_imxpxp = "${MACHINE_SOCARCH}"
 PACKAGE_ARCH_mx8 = "${MACHINE_SOCARCH}"
 
 GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https"
-SRCBRANCH = "MM_04.05.03_1911_L5.4.0"
+SRCBRANCH = "MM_04.05.05_2005_L5.4.24"
 
 SRC_URI = " \
     ${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} \
     file://0001-ext-wayland-fix-meson-build-in-nxp-fork.patch \
     file://0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch \
-    file://0001-meson-fix-build-with-opencv-enabled-and-opencv4.-Fix.patch \
-    file://0001-opencv-allow-compilation-against-4.3.x.patch \
     file://opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \
+    file://0001-opencv-allow-compilation-against-4.4.x.patch \
     file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \
     file://avoid-including-sys-poll.h-directly.patch \
     file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \
 "
-SRCREV = "b80b6a2db690c815a88c2450956e23e86dbd6538"
+SRCREV = "2fdaef1839ebfef7ea3bc8c1c59463a9ef0ae19a"
 
 S = "${WORKDIR}/git"
 
index ae37272912615975a2afed0a57b97f641ebefd40..4b25f4065ea123a7ded140c0a940178ad4161635 100644 (file)
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
                     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.05.03_1911_L5.4.0"
-SRCREV = "289e06a129224b530d23b6d41f0a65cc341109c5" 
+SRCBRANCH = "MM_04.05.05_2005_L5.4.24"
+SRCREV = "cad00a3c4318c787c9661990e8f9328e4a69a329"
 SRC_URI = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} \
            file://0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch \
            file://0001-gstreamer-plugins-base-fix-meson-build-in-nxp-fork.patch \
index 6134789db1dc2505f57e41ad566213af199eb1c0..b85b78429c158c73ef82ff4771ae5e1afc156208 100644 (file)
@@ -2,12 +2,12 @@ require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
 
 
 GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-good.git;protocol=https"
-SRCBRANCH = "MM_04.05.03_1911_L5.4.0"
+SRCBRANCH = "MM_04.05.05_2005_L5.4.24"
 
 SRC_URI = " \
     ${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} \
 "
-SRCREV = "3bcc85705695ee629ac3fb687411bb196d231918"
+SRCREV = "fc6d8ccf3bd775517fafb1ce1d9224312d2812d8"
 
 DEFAULT_PREFERENCE = "-1"
 
index f344db2dc81c6e71d6df8c3265b3a1fe5a96b353..3dc60b66902c756a7c5a820edeb56579a2e5c240 100644 (file)
@@ -15,7 +15,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 = "MM_04.05.03_1911_L5.4.0"
+SRCBRANCH = "MM_04.05.05_2005_L5.4.24"
 
 SRC_URI = " \
     ${GST1.0_SRC};branch=${SRCBRANCH} \
@@ -25,7 +25,7 @@ SRC_URI = " \
     file://0004-meson-Add-option-for-installed-tests.patch \
     file://capfix.patch \
 "
-SRCREV = "a4c220605ac0923596b89f4f07c05d235bc09259"
+SRCREV = "beca1b382febc2ba38a21fcb8f5092209773eb7f"
 
 S = "${WORKDIR}/git"
 
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-fsl_parser.h-fix-compiler-error-with-fcommon.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-fsl_parser.h-fix-compiler-error-with-fcommon.patch
new file mode 100644 (file)
index 0000000..9a0afea
--- /dev/null
@@ -0,0 +1,34 @@
+From eb89cd344535706c6194359bd1f1fed50162a041 Mon Sep 17 00:00:00 2001
+From: Andrey Zhizhikin <andrey.z@gmail.com>
+Date: Tue, 1 Sep 2020 08:24:52 +0000
+Subject: [PATCH] fsl_parser.h: fix compiler error with -fcommon
+
+When -fcommon is set in GCC10 configuration, following error is produced
+during linking:
+./git/ext-includes/fsl_parser.h:598: multiple definition of `TrackExtTagIndex';
+./git/ext-includes/fsl_parser.h:598: first defined here
+
+Remove unused enum name to resolve multiple definitions, it is not used
+anywhere in the code base.
+
+Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
+---
+ ext-includes/fsl_parser.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ext-includes/fsl_parser.h b/ext-includes/fsl_parser.h
+index d3aae20..c037c9a 100755
+--- a/ext-includes/fsl_parser.h
++++ b/ext-includes/fsl_parser.h
+@@ -595,7 +595,7 @@ enum{
+     FSL_PARSER_TRACKEXTTAG_CRYPTO_ENCRYPTED_BYTE_BLOCK,
+     FSL_PARSER_TRACKEXTTAG_CRYPTO_SKIP_BYTE_BLOCK,
+     FSL_PARSER_TRACKEXTTAG_CRYPTO_IV,
+-}TrackExtTagIndex;
++};
+ typedef struct _SeiPosition
+ {
+-- 
+2.17.1
+
index 4e2447152343395c76844093f2073529ce8db826..f2b33d96ac042fe684fa174486b948ef076a0243 100644 (file)
@@ -20,11 +20,13 @@ RCONFLICTS_${PN} = "gst1.0-fsl-plugin"
 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.05.03_1911_L5.4.0"
+SRCBRANCH = "MM_04.05.05_2005_L5.4.24"
 
-SRC_URI = "${IMXGST_SRC};branch=${SRCBRANCH}"
-SRCREV = "190b80c50aa06d2fe32423f6e36d76374bb530b2"
+SRC_URI = " \
+       git://source.codeaurora.org/external/imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \
+       file://0001-fsl_parser.h-fix-compiler-error-with-fcommon.patch \
+"
+SRCREV = "4d2e5c1547c5f8a5e4e26a034ab87c809b34fb54"
 
 S = "${WORKDIR}/git"