diff options
author | Hiago De Franco <hiago.franco@toradex.com> | 2024-07-26 17:55:45 -0300 |
---|---|---|
committer | Hiago De Franco <hiago.franco@toradex.com> | 2024-08-03 18:20:53 -0300 |
commit | d1c6878cf25575f98ab12c5e685a0728afa4424a (patch) | |
tree | 2ef2fcb36132f0210d694319c0ed0dc8a91374e4 | |
parent | 5a46df3c737c14c1d421d64e72a101827fcb34a1 (diff) | |
download | meta-freescale-d1c6878cf25575f98ab12c5e685a0728afa4424a.tar.gz |
gstreamer: Update 6.6.3-1.0.0 to 6.6.23-2.0.0
Upgrade gstreamer and all related recipes to 1.24.0, syncing with
meta-imx layer.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
30 files changed, 184 insertions, 710 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index b94be957..8ef1e281 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -510,28 +510,28 @@ MACHINE_GSTREAMER_1_0_PLUGIN:mx8ulp-nxp-bsp ?= "imx-gst1.0-plugin" | |||
510 | MACHINE_GSTREAMER_1_0_PLUGIN:mx93-nxp-bsp ?= "imx-gst1.0-plugin" | 510 | MACHINE_GSTREAMER_1_0_PLUGIN:mx93-nxp-bsp ?= "imx-gst1.0-plugin" |
511 | 511 | ||
512 | # GStreamer forked recipes | 512 | # GStreamer forked recipes |
513 | PREFERRED_VERSION_gstreamer1.0:mx8-nxp-bsp ??= "1.22.5.imx" | 513 | PREFERRED_VERSION_gstreamer1.0:mx8-nxp-bsp ??= "1.24.0.imx" |
514 | PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8-nxp-bsp ??= "1.22.5.imx" | 514 | PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8-nxp-bsp ??= "1.24.0.imx" |
515 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8-nxp-bsp ??= "1.22.5.imx" | 515 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8-nxp-bsp ??= "1.24.0.imx" |
516 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8-nxp-bsp ??= "1.22.5.imx" | 516 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8-nxp-bsp ??= "1.24.0.imx" |
517 | PREFERRED_VERSION_gstreamer1.0:mx9-nxp-bsp ??= "1.22.5.imx" | 517 | PREFERRED_VERSION_gstreamer1.0:mx9-nxp-bsp ??= "1.24.0.imx" |
518 | PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx9-nxp-bsp ??= "1.22.5.imx" | 518 | PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx9-nxp-bsp ??= "1.24.0.imx" |
519 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx9-nxp-bsp ??= "1.22.5.imx" | 519 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx9-nxp-bsp ??= "1.24.0.imx" |
520 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.22.5.imx" | 520 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.24.0.imx" |
521 | 521 | ||
522 | # GStreamer copied recipes | 522 | # GStreamer copied recipes |
523 | PREFERRED_VERSION_gst-devtools:mx8-nxp-bsp ??= "1.22.5.imx" | 523 | PREFERRED_VERSION_gst-devtools:mx8-nxp-bsp ??= "1.24.0.imx" |
524 | PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ??= "1.22.5.imx" | 524 | PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ??= "1.24.0.imx" |
525 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ??= "1.22.5.imx" | 525 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ??= "1.24.0.imx" |
526 | PREFERRED_VERSION_gstreamer1.0-python:mx8-nxp-bsp ??= "1.22.5.imx" | 526 | PREFERRED_VERSION_gstreamer1.0-python:mx8-nxp-bsp ??= "1.24.0.imx" |
527 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ??= "1.22.5.imx" | 527 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ??= "1.24.0.imx" |
528 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx8-nxp-bsp ??= "1.22.5.imx" | 528 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx8-nxp-bsp ??= "1.24.0.imx" |
529 | PREFERRED_VERSION_gst-devtools:mx9-nxp-bsp ??= "1.22.5.imx" | 529 | PREFERRED_VERSION_gst-devtools:mx9-nxp-bsp ??= "1.24.0.imx" |
530 | PREFERRED_VERSION_gstreamer1.0-libav:mx9-nxp-bsp ??= "1.22.5.imx" | 530 | PREFERRED_VERSION_gstreamer1.0-libav:mx9-nxp-bsp ??= "1.24.0.imx" |
531 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx9-nxp-bsp ??= "1.22.5.imx" | 531 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx9-nxp-bsp ??= "1.24.0.imx" |
532 | PREFERRED_VERSION_gstreamer1.0-python:mx9-nxp-bsp ??= "1.22.5.imx" | 532 | PREFERRED_VERSION_gstreamer1.0-python:mx9-nxp-bsp ??= "1.24.0.imx" |
533 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx9-nxp-bsp ??= "1.22.5.imx" | 533 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx9-nxp-bsp ??= "1.24.0.imx" |
534 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx9-nxp-bsp ??= "1.22.5.imx" | 534 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx9-nxp-bsp ??= "1.24.0.imx" |
535 | 535 | ||
536 | # GStreamer downgrade ffmpeg | 536 | # GStreamer downgrade ffmpeg |
537 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" | 537 | PREFERRED_VERSION_ffmpeg:mx8-nxp-bsp ??= "4.4.1" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.0.imx.bb index cca80cc2..ab542cb5 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.0.imx.bb | |||
@@ -11,10 +11,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | |||
11 | file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \ | 11 | file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.22.5.tar.xz" | 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${@get_gst_ver('${PV}')}.tar.xz" |
15 | SRC_URI[sha256sum] = "8583f0c1f4fcb01eed11fa1e3c21126543a8bd739ed4fc1db31f756a5ab01d9a" | 15 | SRC_URI[sha256sum] = "ab775d5b9a7c84176b29822b68c7a34731280039a20b7db5eb639eddd1466178" |
16 | 16 | ||
17 | S = "${WORKDIR}/gst-libav-1.22.5" | 17 | S = "${WORKDIR}/gst-libav-${@get_gst_ver('${PV}')}" |
18 | 18 | ||
19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | 19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" |
20 | 20 | ||
@@ -24,5 +24,11 @@ EXTRA_OEMESON += " \ | |||
24 | -Dtests=disabled \ | 24 | -Dtests=disabled \ |
25 | " | 25 | " |
26 | 26 | ||
27 | # Drop .imx from PV | ||
28 | def get_gst_ver(v): | ||
29 | return oe.utils.trim_version(v, 3) | ||
30 | |||
27 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | 31 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" |
28 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | 32 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" |
33 | |||
34 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch deleted file mode 100644 index 029b80e1..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 3bc5d48257032b6bbee532aad15062fbbcc43bfe Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | ||
3 | Date: Mon, 27 Jan 2020 10:22:35 +0000 | ||
4 | Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build | ||
5 | |||
6 | When Yocto build is performed, opencv searches for data dir using simple | ||
7 | 'test' command, this fails because pkg-config provides an absolute | ||
8 | path on the target which needs to be prepended by PKG_CONFIG_SYSROOT_DIR | ||
9 | in order for the 'test' utility to pick up the absolute path. | ||
10 | |||
11 | Upstream-Status: Inappropriate [OE-specific] | ||
12 | |||
13 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | ||
14 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | ||
15 | |||
16 | --- | ||
17 | ext/opencv/meson.build | 3 +++ | ||
18 | 1 file changed, 3 insertions(+) | ||
19 | |||
20 | diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build | ||
21 | index 1d86b90..b5c8b95 100644 | ||
22 | --- a/ext/opencv/meson.build | ||
23 | +++ b/ext/opencv/meson.build | ||
24 | @@ -87,6 +87,9 @@ if opencv_found | ||
25 | opencv_prefix = opencv_dep.get_variable('prefix') | ||
26 | gstopencv_cargs += ['-DOPENCV_PREFIX="' + opencv_prefix + '"'] | ||
27 | |||
28 | + pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip() | ||
29 | + opencv_prefix = pkgconf_sysroot + opencv_prefix | ||
30 | + | ||
31 | # Check the data dir used by opencv for its xml data files | ||
32 | # Use prefix from pkg-config to be compatible with cross-compilation | ||
33 | r = run_command('test', '-d', opencv_prefix + '/share/opencv', check: false) | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb index 39c1bfe1..b3ea80a5 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.0.imx.bb | |||
@@ -184,11 +184,13 @@ DEPENDS:append:imxgpu2d = " virtual/libg2d" | |||
184 | 184 | ||
185 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ | 185 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ |
186 | file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ | 186 | file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ |
187 | file://0002-avoid-including-sys-poll.h-directly.patch" | 187 | file://0002-avoid-including-sys-poll.h-directly.patch \ |
188 | file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ | ||
189 | " | ||
188 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " | 190 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " |
189 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" | 191 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" |
190 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" | 192 | SRCBRANCH = "MM_04.09.00_2405_L6.6.y" |
191 | SRCREV = "9de821c50b4dd7af2407d9c3d078020704510a20" | 193 | SRCREV = "869cef4efbc004c795392d274e617f2dfa71ac98" |
192 | 194 | ||
193 | S = "${WORKDIR}/git" | 195 | S = "${WORKDIR}/git" |
194 | 196 | ||
@@ -222,8 +224,11 @@ EXTRA_OEMESON += " \ | |||
222 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ | 224 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ |
223 | " | 225 | " |
224 | 226 | ||
225 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 227 | EXTRA_OEMESON:remove = " \ |
228 | -Dkate=disabled \ | ||
229 | " | ||
226 | 230 | ||
231 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
227 | # it uses nested functions sadly, in ext/wayland/gstwaylandsink.c for GST_ELEMENT_REGISTER_DEFINE | 232 | # it uses nested functions sadly, in ext/wayland/gstwaylandsink.c for GST_ELEMENT_REGISTER_DEFINE |
228 | # | 233 | # |
229 | TOOLCHAIN = "gcc" | 234 | TOOLCHAIN = "gcc" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocator-Fix-typcasts.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocator-Fix-typcasts.patch deleted file mode 100644 index 3ab4bab4..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocator-Fix-typcasts.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | From 90b94ff95c72487054fd283fb7cb5ebd13822b3f Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 7 Aug 2023 18:56:05 -0700 | ||
4 | Subject: [PATCH] gstallocator: Fix typcasts | ||
5 | |||
6 | These are found when building with clang+musl | ||
7 | | ../git/gst-libs/gst/allocators/gstallocatorphymem.c:228:10: error: incompatible pointer to integer conversion returning 'gpointer' (aka 'void *') from a function with result type 'guintptr | ||
8 | ' (aka 'unsigned long') [-Wint-conversion] | ||
9 | | 228 | return gst_phymem_get_phy (mem); | ||
10 | | | ^~~~~~~~~~~~~~~~~~~~~~~~ | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/nxp-imx/gst-plugins-base/pull/4] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | gst-libs/gst/allocators/gstallocatorphymem.c | 2 +- | ||
16 | gst-libs/gst/gl/gstglphymemory.c | 2 +- | ||
17 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
18 | |||
19 | diff --git a/gst-libs/gst/allocators/gstallocatorphymem.c b/gst-libs/gst/allocators/gstallocatorphymem.c | ||
20 | index f3c3306c7..f8a4511ab 100755 | ||
21 | --- a/gst-libs/gst/allocators/gstallocatorphymem.c | ||
22 | +++ b/gst-libs/gst/allocators/gstallocatorphymem.c | ||
23 | @@ -225,7 +225,7 @@ static guintptr | ||
24 | gst_allocator_phymem_get_phys_addr (GstPhysMemoryAllocator * allocator, | ||
25 | GstMemory * mem) | ||
26 | { | ||
27 | - return gst_phymem_get_phy (mem); | ||
28 | + return (guintptr)gst_phymem_get_phy (mem); | ||
29 | } | ||
30 | |||
31 | static void | ||
32 | diff --git a/gst-libs/gst/gl/gstglphymemory.c b/gst-libs/gst/gl/gstglphymemory.c | ||
33 | index d82c9a66a..1d8be0a5d 100644 | ||
34 | --- a/gst-libs/gst/gl/gstglphymemory.c | ||
35 | +++ b/gst-libs/gst/gl/gstglphymemory.c | ||
36 | @@ -337,7 +337,7 @@ gst_gl_physical_memory_setup_buffer (GstAllocator * allocator, | ||
37 | GST_VIDEO_INFO_HEIGHT (info), | ||
38 | viv_fmt, | ||
39 | memblk->vaddr, | ||
40 | - memblk->paddr, | ||
41 | + (guint)memblk->paddr, | ||
42 | FALSE | ||
43 | }; | ||
44 | |||
45 | -- | ||
46 | 2.41.0 | ||
47 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.%.bbappend index ca6636b8..a834192e 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.%.bbappend +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.%.bbappend | |||
@@ -13,5 +13,5 @@ PACKAGECONFIG_GL:use-mainline-bsp = \ | |||
13 | # does not depend on the viv-fb feature. It used to, but that was actually a bug | 13 | # does not depend on the viv-fb feature. It used to, but that was actually a bug |
14 | # which was fixed in GStreamer 1.22.5. Since then, the direct texture support is | 14 | # which was fixed in GStreamer 1.22.5. Since then, the direct texture support is |
15 | # detected by Meson by checking for direct texture symbols like "glTexDirectVIV".) | 15 | # detected by Meson by checking for direct texture symbols like "glTexDirectVIV".) |
16 | PACKAGECONFIG_GL:append:mx6-nxp-bsp = " viv-fb " | 16 | PACKAGECONFIG_GL:imxgpu2d:append:mx6-nxp-bsp = " viv-fb " |
17 | PACKAGECONFIG_GL:append:mx7ulp-nxp-bsp = " viv-fb " | 17 | PACKAGECONFIG_GL:imxgpu2d:append:mx7-nxp-bsp = " viv-fb " |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb index 944cf8f5..348a30dc 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.0.imx.bb | |||
@@ -116,10 +116,10 @@ SRC_URI:remove = " \ | |||
116 | file://0003-viv-fb-Make-sure-config.h-is-included.patch \ | 116 | file://0003-viv-fb-Make-sure-config.h-is-included.patch \ |
117 | file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch" | 117 | file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch" |
118 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " | 118 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " |
119 | SRC_URI:append = " file://0001-gstallocator-Fix-typcasts.patch" | 119 | |
120 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" | 120 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" |
121 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" | 121 | SRCBRANCH = "MM_04.09.00_2405_L6.6.y" |
122 | SRCREV = "c4333767ea122c182ba4e14cababe8dbe2a1b882" | 122 | SRCREV = "1c9913d7ce81c43cbf756158a35f61dbeee19ea3" |
123 | 123 | ||
124 | S = "${WORKDIR}/git" | 124 | S = "${WORKDIR}/git" |
125 | 125 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb index 1234f3ad..5d5a2425 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.0.imx.bb | |||
@@ -111,8 +111,8 @@ SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plu | |||
111 | 111 | ||
112 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " | 112 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " |
113 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" | 113 | GST1.0-PLUGINS-GOOD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-good.git;protocol=https" |
114 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" | 114 | SRCBRANCH = "MM_04.09.00_2405_L6.6.y" |
115 | SRCREV = "d361360510c97dc23abbfcdd22dff8214890527d" | 115 | SRCREV = "50535da48c564bd3a46b2e39e0a3a97cf7e86df3" |
116 | 116 | ||
117 | # set 32bit compile timer for 32-bit platform | 117 | # set 32bit compile timer for 32-bit platform |
118 | GLIBC_64BIT_TIME_FLAGS:mx6-nxp-bsp = "" | 118 | GLIBC_64BIT_TIME_FLAGS:mx6-nxp-bsp = "" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb index 5bf60e62..f09a5bc7 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb | |||
@@ -15,7 +15,7 @@ RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparser | |||
15 | PV .= "+git${SRCPV}" | 15 | PV .= "+git${SRCPV}" |
16 | 16 | ||
17 | SRCBRANCH ?= "master" | 17 | SRCBRANCH ?= "master" |
18 | SRCREV = "cb3cd45676e808b222ac573e8a118f44fd70c288" | 18 | SRCREV = "ce4f86e60f12c56574f727f3317fa8aa30a11387" |
19 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https" | 19 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH};protocol=https" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.0.imx.bb index bdc802c2..19e9ce04 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.0.imx.bb | |||
@@ -12,11 +12,11 @@ LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | |||
12 | LICENSE_FLAGS = "commercial" | 12 | LICENSE_FLAGS = "commercial" |
13 | 13 | ||
14 | SRC_URI = " \ | 14 | SRC_URI = " \ |
15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.22.5.tar.xz \ | 15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${@get_gst_ver("${PV}")}.tar.xz \ |
16 | " | 16 | " |
17 | SRC_URI[sha256sum] = "2680473b218158f18467cac3e1c50291b7ff4e0710dd350a59eaacbc29c09a54" | 17 | SRC_URI[sha256sum] = "c5d1cbdf71ab0c675bca236f70edfa1feb3f813fd4bfff563308f466d8805ca5" |
18 | 18 | ||
19 | S = "${WORKDIR}/gst-plugins-ugly-1.22.5" | 19 | S = "${WORKDIR}/gst-plugins-ugly-${@get_gst_ver("${PV}")}" |
20 | 20 | ||
21 | DEPENDS += "gstreamer1.0-plugins-base" | 21 | DEPENDS += "gstreamer1.0-plugins-base" |
22 | 22 | ||
@@ -24,10 +24,9 @@ GST_PLUGIN_SET_HAS_EXAMPLES = "0" | |||
24 | 24 | ||
25 | PACKAGECONFIG ??= " \ | 25 | PACKAGECONFIG ??= " \ |
26 | ${GSTREAMER_ORC} \ | 26 | ${GSTREAMER_ORC} \ |
27 | a52dec mpeg2dec \ | ||
27 | " | 28 | " |
28 | 29 | ||
29 | PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr" | ||
30 | PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr" | ||
31 | PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" | 30 | PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" |
32 | PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" | 31 | PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" |
33 | PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" | 32 | PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" |
@@ -41,5 +40,10 @@ EXTRA_OEMESON += " \ | |||
41 | -Dsidplay=disabled \ | 40 | -Dsidplay=disabled \ |
42 | " | 41 | " |
43 | 42 | ||
44 | FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" | 43 | # Drop .imx from PV |
44 | def get_gst_ver(v): | ||
45 | return oe.utils.trim_version(v, 3) | ||
46 | |||
45 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" | 47 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" |
48 | |||
49 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch b/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch new file mode 100644 index 00000000..fd6b1c16 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-Fix-missing-python_opt.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From 8d7e2eaed10e2928358805f613223a6a149790d6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hiago De Franco <hiago.franco@toradex.com> | ||
3 | Date: Wed, 31 Jul 2024 11:51:06 -0300 | ||
4 | Subject: [PATCH] meson.build: Fix missing python_opt | ||
5 | |||
6 | 'python_opt' was not declared earlier, giving the following build error: | ||
7 | |||
8 | | Message: python_abi_flags = | ||
9 | | | ||
10 | | ../gst-python-1.24.0/meson.build:84:16: ERROR: Unknown variable "python_opt". | ||
11 | |||
12 | Remove it and keep the error message. | ||
13 | |||
14 | Upstream-Status: Inappropriate [oe specific] | ||
15 | |||
16 | The patch already exists upstream, but this is related to another fix [1] | ||
17 | not suitable for OE. Moreover, the backport does not apply since | ||
18 | the patch was added to the gstreamer monorepo. | ||
19 | |||
20 | [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6734? | ||
21 | |||
22 | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> | ||
23 | --- | ||
24 | meson.build | 7 +------ | ||
25 | 1 file changed, 1 insertion(+), 6 deletions(-) | ||
26 | |||
27 | diff --git a/meson.build b/meson.build | ||
28 | index f240b6fd8aca..53f7a43702c7 100644 | ||
29 | --- a/meson.build | ||
30 | +++ b/meson.build | ||
31 | @@ -80,12 +80,7 @@ foreach loc: pylib_locs | ||
32 | endforeach | ||
33 | endforeach | ||
34 | if pylib_fname == '' | ||
35 | - error_msg = 'Could not find python library to load' | ||
36 | - if python_opt.enabled() | ||
37 | - error(error_msg) | ||
38 | - else | ||
39 | - message(error_msg) | ||
40 | - endif | ||
41 | + message('Could not find python library to load') | ||
42 | endif | ||
43 | |||
44 | pygi_override_dir = get_option('pygi-overrides-dir') | ||
45 | -- | ||
46 | 2.39.2 | ||
47 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb index ebad6b64..0ba9a1ae 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.0.imx.bb | |||
@@ -7,15 +7,18 @@ SECTION = "multimedia" | |||
7 | LICENSE = "LGPL-2.1-or-later" | 7 | LICENSE = "LGPL-2.1-or-later" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" |
9 | 9 | ||
10 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-1.22.5.tar.xz" | 10 | SRC_URI = "\ |
11 | SRC_URI[sha256sum] = "bf05232415cf6018142ae51dd3b897bb73432687b5ce1786bf46edc6298ce5b0" | 11 | https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz \ |
12 | file://0001-meson.build-Fix-missing-python_opt.patch \ | ||
13 | " | ||
14 | SRC_URI[sha256sum] = "041c2255c1ea9936c777dcb08a36ecaa6a24a69a12fc46ef53f1530d46c59f9d" | ||
12 | 15 | ||
13 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | 16 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" |
14 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | 17 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" |
15 | 18 | ||
16 | PNREAL = "gst-python" | 19 | PNREAL = "gst-python" |
17 | 20 | ||
18 | S = "${WORKDIR}/${PNREAL}-1.22.5" | 21 | S = "${WORKDIR}/${PNREAL}-${@get_gst_ver('${PV}')}" |
19 | 22 | ||
20 | EXTRA_OEMESON += "\ | 23 | EXTRA_OEMESON += "\ |
21 | -Dtests=disabled \ | 24 | -Dtests=disabled \ |
@@ -25,6 +28,10 @@ EXTRA_OEMESON += "\ | |||
25 | 28 | ||
26 | inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check | 29 | inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check |
27 | 30 | ||
31 | # Drop .imx from PV | ||
32 | def get_gst_ver(v): | ||
33 | return oe.utils.trim_version(v, 3) | ||
34 | |||
28 | FILES:${PN} += "${libdir}/gstreamer-1.0" | 35 | FILES:${PN} += "${libdir}/gstreamer-1.0" |
29 | 36 | ||
30 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 37 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.0.imx.bb index 5dae5ebb..c866d233 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.0.imx.bb | |||
@@ -8,11 +8,11 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base" | |||
8 | 8 | ||
9 | PNREAL = "gst-rtsp-server" | 9 | PNREAL = "gst-rtsp-server" |
10 | 10 | ||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-1.22.5.tar.xz" | 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${@get_gst_ver("${PV}")}.tar.xz" |
12 | 12 | ||
13 | SRC_URI[sha256sum] = "f343eb54964ebd4d8c071be5eecad586f28feb0156e036e06b148d0e7febb1c0" | 13 | SRC_URI[sha256sum] = "5b0fa6b12ba95b1d336a4b274cbe19e982aa3e6819f1d97bfd8e0102b103ed9b" |
14 | 14 | ||
15 | S = "${WORKDIR}/${PNREAL}-1.22.5" | 15 | S = "${WORKDIR}/${PNREAL}-${@get_gst_ver("${PV}")}" |
16 | 16 | ||
17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection | 17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection |
18 | 18 | ||
@@ -25,7 +25,14 @@ EXTRA_OEMESON += " \ | |||
25 | GIR_MESON_ENABLE_FLAG = "enabled" | 25 | GIR_MESON_ENABLE_FLAG = "enabled" |
26 | GIR_MESON_DISABLE_FLAG = "disabled" | 26 | GIR_MESON_DISABLE_FLAG = "disabled" |
27 | 27 | ||
28 | # Drop .imx from PV | ||
29 | def get_gst_ver(v): | ||
30 | return oe.utils.trim_version(v, 3) | ||
31 | |||
28 | # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well | 32 | # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well |
29 | require gstreamer1.0-plugins-packaging.inc | 33 | require gstreamer1.0-plugins-packaging.inc |
30 | 34 | ||
31 | CVE_PRODUCT += "gst-rtsp-server" | 35 | CVE_PRODUCT += "gst-rtsp-server" |
36 | |||
37 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
38 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.0.imx.bb index d44b70a8..dde7b5b1 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.0.imx.bb | |||
@@ -9,15 +9,19 @@ REALPN = "gstreamer-vaapi" | |||
9 | LICENSE = "LGPL-2.1-or-later" | 9 | LICENSE = "LGPL-2.1-or-later" |
10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | 10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" |
11 | 11 | ||
12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-1.22.5.tar.xz" | 12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-1.24.0.tar.xz" |
13 | 13 | ||
14 | SRC_URI[sha256sum] = "a9a550267c9584df0e8c70434d30476e8fd0018b733c1c1ee33deaf422bdb24b" | 14 | SRC_URI[sha256sum] = "6b1f3b91ca65dedc67dc67a25dc1d1e464f11825a27ab9c7ac7c1bda67f03596" |
15 | 15 | ||
16 | S = "${WORKDIR}/${REALPN}-1.22.5" | 16 | S = "${WORKDIR}/${REALPN}-${@get_gst_ver('${PV}')}" |
17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | 17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" |
18 | 18 | ||
19 | inherit meson pkgconfig features_check upstream-version-is-even | 19 | inherit meson pkgconfig features_check upstream-version-is-even |
20 | 20 | ||
21 | # Drop .imx from PV | ||
22 | def get_gst_ver(v): | ||
23 | return oe.utils.trim_version(v, 3) | ||
24 | |||
21 | REQUIRED_DISTRO_FEATURES ?= "opengl" | 25 | REQUIRED_DISTRO_FEATURES ?= "opengl" |
22 | 26 | ||
23 | EXTRA_OEMESON += " \ | 27 | EXTRA_OEMESON += " \ |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch b/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch index 568e38cb..456f0762 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch +++ b/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 08b1aaff972a7f6349373fc1ad4cc23081adb52c Mon Sep 17 00:00:00 2001 | 1 | From 330e15374bb30ac29ee72c4b3de79c17b1157112 Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 | 3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 |
4 | Subject: [PATCH] tests: add support for install the tests | 4 | Subject: [PATCH] tests: add support for install the tests |
@@ -14,16 +14,16 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
14 | --- | 14 | --- |
15 | meson.build | 4 ++++ | 15 | meson.build | 4 ++++ |
16 | meson_options.txt | 1 + | 16 | meson_options.txt | 1 + |
17 | tests/check/meson.build | 22 +++++++++++++++++++++- | 17 | tests/check/meson.build | 21 ++++++++++++++++++++- |
18 | tests/check/template.test.in | 3 +++ | 18 | tests/check/template.test.in | 3 +++ |
19 | 4 files changed, 29 insertions(+), 1 deletion(-) | 19 | 4 files changed, 28 insertions(+), 1 deletion(-) |
20 | create mode 100644 tests/check/template.test.in | 20 | create mode 100644 tests/check/template.test.in |
21 | 21 | ||
22 | diff --git a/meson.build b/meson.build | 22 | diff --git a/meson.build b/meson.build |
23 | index f9f591d..3906fb3 100644 | 23 | index 540d6d290e10..0267f22a79ea 100644 |
24 | --- a/meson.build | 24 | --- a/meson.build |
25 | +++ b/meson.build | 25 | +++ b/meson.build |
26 | @@ -606,6 +606,10 @@ if bashcomp_dep.found() | 26 | @@ -624,6 +624,10 @@ if bashcomp_dep.found() |
27 | endif | 27 | endif |
28 | endif | 28 | endif |
29 | 29 | ||
@@ -35,10 +35,10 @@ index f9f591d..3906fb3 100644 | |||
35 | 35 | ||
36 | pkgconfig = import('pkgconfig') | 36 | pkgconfig = import('pkgconfig') |
37 | diff --git a/meson_options.txt b/meson_options.txt | 37 | diff --git a/meson_options.txt b/meson_options.txt |
38 | index 7363bdb..a34ba37 100644 | 38 | index 340fb5801d02..5b87f68e8d7f 100644 |
39 | --- a/meson_options.txt | 39 | --- a/meson_options.txt |
40 | +++ b/meson_options.txt | 40 | +++ b/meson_options.txt |
41 | @@ -15,6 +15,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso | 41 | @@ -16,6 +16,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso |
42 | option('memory-alignment', type: 'combo', | 42 | option('memory-alignment', type: 'combo', |
43 | choices : ['1', '2', '4', '8', '16', '32', '64', '128', '256', '512', '1024', '2048', '4096', '8192', 'malloc', 'pagesize'], | 43 | choices : ['1', '2', '4', '8', '16', '32', '64', '128', '256', '512', '1024', '2048', '4096', '8192', 'malloc', 'pagesize'], |
44 | value: 'malloc') | 44 | value: 'malloc') |
@@ -47,14 +47,14 @@ index 7363bdb..a34ba37 100644 | |||
47 | # Feature options | 47 | # Feature options |
48 | option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') | 48 | option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') |
49 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 49 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
50 | index 16caac7..f2d400f 100644 | 50 | index e9501feb2af5..fd5a99611e3d 100644 |
51 | --- a/tests/check/meson.build | 51 | --- a/tests/check/meson.build |
52 | +++ b/tests/check/meson.build | 52 | +++ b/tests/check/meson.build |
53 | @@ -124,10 +124,16 @@ test_defines = [ | 53 | @@ -125,10 +125,16 @@ test_defines = [ |
54 | '-UG_DISABLE_ASSERT', | 54 | '-UG_DISABLE_ASSERT', |
55 | '-UG_DISABLE_CAST_CHECKS', | 55 | '-UG_DISABLE_CAST_CHECKS', |
56 | '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"', | 56 | '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"', |
57 | - '-DTESTFILE="' + meson.current_source_dir() + '/meson.build"', | 57 | - '-DTESTFILE="' + fsmod.as_posix(meson.current_source_dir()) + '/meson.build"', |
58 | '-DGST_DISABLE_DEPRECATED', | 58 | '-DGST_DISABLE_DEPRECATED', |
59 | ] | 59 | ] |
60 | 60 | ||
@@ -68,7 +68,7 @@ index 16caac7..f2d400f 100644 | |||
68 | # sanity checking | 68 | # sanity checking |
69 | if get_option('check').disabled() | 69 | if get_option('check').disabled() |
70 | if get_option('tests').enabled() | 70 | if get_option('tests').enabled() |
71 | @@ -150,6 +156,8 @@ foreach t : core_tests | 71 | @@ -151,6 +157,8 @@ foreach t : core_tests |
72 | include_directories : [configinc], | 72 | include_directories : [configinc], |
73 | link_with : link_with_libs, | 73 | link_with : link_with_libs, |
74 | dependencies : gst_deps + test_deps, | 74 | dependencies : gst_deps + test_deps, |
@@ -77,10 +77,10 @@ index 16caac7..f2d400f 100644 | |||
77 | ) | 77 | ) |
78 | 78 | ||
79 | env = environment() | 79 | env = environment() |
80 | @@ -161,6 +169,18 @@ foreach t : core_tests | 80 | @@ -161,6 +169,17 @@ foreach t : core_tests |
81 | env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name)) | ||
81 | env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner') | 82 | env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner') |
82 | env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer') | 83 | env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer') |
83 | |||
84 | + if installed_tests_enabled | 84 | + if installed_tests_enabled |
85 | + test_conf = configuration_data() | 85 | + test_conf = configuration_data() |
86 | + test_conf.set('installed_tests_dir', join_paths(prefix, installed_tests_execdir)) | 86 | + test_conf.set('installed_tests_dir', join_paths(prefix, installed_tests_execdir)) |
@@ -92,16 +92,18 @@ index 16caac7..f2d400f 100644 | |||
92 | + configuration: test_conf | 92 | + configuration: test_conf |
93 | + ) | 93 | + ) |
94 | + endif | 94 | + endif |
95 | + | 95 | |
96 | test(test_name, exe, env: env, timeout : 3 * 60) | 96 | test(test_name, exe, env: env, timeout : 3 * 60) |
97 | endif | 97 | endif |
98 | endforeach | ||
99 | diff --git a/tests/check/template.test.in b/tests/check/template.test.in | 98 | diff --git a/tests/check/template.test.in b/tests/check/template.test.in |
100 | new file mode 100644 | 99 | new file mode 100644 |
101 | index 0000000..f701627 | 100 | index 000000000000..f701627f87a6 |
102 | --- /dev/null | 101 | --- /dev/null |
103 | +++ b/tests/check/template.test.in | 102 | +++ b/tests/check/template.test.in |
104 | @@ -0,0 +1,3 @@ | 103 | @@ -0,0 +1,3 @@ |
105 | +[Test] | 104 | +[Test] |
106 | +Type=session | 105 | +Type=session |
107 | +Exec=@installed_tests_dir@/@program@ | 106 | +Exec=@installed_tests_dir@/@program@ |
107 | -- | ||
108 | 2.39.2 | ||
109 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch b/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch index 10a6dcc6..83f3870c 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch +++ b/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From fe830f0f75f3b4b41e3dbef8d4cf6ee4103c9e06 Mon Sep 17 00:00:00 2001 | 1 | From 1f13b802bdb1c1e414c70f770dc164c80e0dcd57 Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sat, 24 Apr 2021 10:34:47 +0100 | 3 | Date: Sat, 24 Apr 2021 10:34:47 +0100 |
4 | Subject: [PATCH 3/4] tests: use a dictionaries for environment | 4 | Subject: [PATCH 3/4] tests: use a dictionaries for environment |
@@ -10,14 +10,14 @@ Upstream-Status: Submitted [https://gitlab.freedesktop.org/gstreamer/gstreamer/- | |||
10 | 10 | ||
11 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | 11 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> |
12 | --- | 12 | --- |
13 | subprojects/gstreamer/tests/check/meson.build | 21 ++++++++++++------- | 13 | tests/check/meson.build | 22 ++++++++++++++-------- |
14 | 1 file changed, 13 insertions(+), 8 deletions(-) | 14 | 1 file changed, 14 insertions(+), 8 deletions(-) |
15 | 15 | ||
16 | diff --git a/subprojects/gstreamer/tests/check/meson.build b/subprojects/gstreamer/tests/check/meson.build | 16 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
17 | index 00a138a568..48ec2532f8 100644 | 17 | index fd5a99611e3d..330abaaeadd5 100644 |
18 | --- a/subprojects/gstreamer/tests/check/meson.build | 18 | --- a/tests/check/meson.build |
19 | +++ b/subprojects/gstreamer/tests/check/meson.build | 19 | +++ b/tests/check/meson.build |
20 | @@ -161,14 +161,19 @@ foreach t : core_tests | 20 | @@ -161,14 +161,20 @@ foreach t : core_tests |
21 | install: installed_tests_enabled, | 21 | install: installed_tests_enabled, |
22 | ) | 22 | ) |
23 | 23 | ||
@@ -42,9 +42,10 @@ index 00a138a568..48ec2532f8 100644 | |||
42 | + 'GST_PLUGIN_SCANNER_1_0': gst_scanner_dir + '/gst-plugin-scanner', | 42 | + 'GST_PLUGIN_SCANNER_1_0': gst_scanner_dir + '/gst-plugin-scanner', |
43 | + 'GST_PLUGIN_LOADING_WHITELIST': 'gstreamer', | 43 | + 'GST_PLUGIN_LOADING_WHITELIST': 'gstreamer', |
44 | + } | 44 | + } |
45 | 45 | + | |
46 | if installed_tests_enabled | 46 | if installed_tests_enabled |
47 | test_conf = configuration_data() | 47 | test_conf = configuration_data() |
48 | test_conf.set('installed_tests_dir', join_paths(prefix, installed_tests_execdir)) | ||
48 | -- | 49 | -- |
49 | 2.33.1 | 50 | 2.39.2 |
50 | 51 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch b/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch index efa004f8..0a312389 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch +++ b/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4dcbabebca2ad6f1fdd59ee35a858082e87db7b6 Mon Sep 17 00:00:00 2001 | 1 | From 616c489d4ff1e7ed878bc3760180ba994fbd1974 Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 2 May 2021 01:58:01 +0100 | 3 | Date: Sun, 2 May 2021 01:58:01 +0100 |
4 | Subject: [PATCH 4/4] tests: add helper script to run the installed_tests | 4 | Subject: [PATCH 4/4] tests: add helper script to run the installed_tests |
@@ -11,16 +11,16 @@ Upstream-Status: Submitted [https://gitlab.freedesktop.org/gstreamer/gstreamer/- | |||
11 | 11 | ||
12 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | 12 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> |
13 | --- | 13 | --- |
14 | subprojects/gstreamer/tests/check/meson.build | 17 +++++++++++++++++ | 14 | tests/check/meson.build | 17 +++++++++++++++++ |
15 | .../gstreamer/tests/check/template.sh.in | 9 +++++++++ | 15 | tests/check/template.sh.in | 9 +++++++++ |
16 | .../gstreamer/tests/check/template.test.in | 2 +- | 16 | tests/check/template.test.in | 2 +- |
17 | 3 files changed, 27 insertions(+), 1 deletion(-) | 17 | 3 files changed, 27 insertions(+), 1 deletion(-) |
18 | create mode 100755 subprojects/gstreamer/tests/check/template.sh.in | 18 | create mode 100644 tests/check/template.sh.in |
19 | 19 | ||
20 | diff --git a/subprojects/gstreamer/tests/check/meson.build b/subprojects/gstreamer/tests/check/meson.build | 20 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
21 | index 48ec2532f8..7dc4990d4e 100644 | 21 | index 330abaaeadd5..5d383b14dc29 100644 |
22 | --- a/subprojects/gstreamer/tests/check/meson.build | 22 | --- a/tests/check/meson.build |
23 | +++ b/subprojects/gstreamer/tests/check/meson.build | 23 | +++ b/tests/check/meson.build |
24 | @@ -185,6 +185,23 @@ foreach t : core_tests | 24 | @@ -185,6 +185,23 @@ foreach t : core_tests |
25 | install_dir: installed_tests_metadir, | 25 | install_dir: installed_tests_metadir, |
26 | configuration: test_conf | 26 | configuration: test_conf |
@@ -45,11 +45,11 @@ index 48ec2532f8..7dc4990d4e 100644 | |||
45 | endif | 45 | endif |
46 | 46 | ||
47 | test(test_name, exe, env: env, timeout : 3 * 60) | 47 | test(test_name, exe, env: env, timeout : 3 * 60) |
48 | diff --git a/subprojects/gstreamer/tests/check/template.sh.in b/subprojects/gstreamer/tests/check/template.sh.in | 48 | diff --git a/tests/check/template.sh.in b/tests/check/template.sh.in |
49 | new file mode 100755 | 49 | new file mode 100644 |
50 | index 0000000000..cf7d31b0ea | 50 | index 000000000000..cf7d31b0ea5f |
51 | --- /dev/null | 51 | --- /dev/null |
52 | +++ b/subprojects/gstreamer/tests/check/template.sh.in | 52 | +++ b/tests/check/template.sh.in |
53 | @@ -0,0 +1,9 @@ | 53 | @@ -0,0 +1,9 @@ |
54 | +#!/bin/sh | 54 | +#!/bin/sh |
55 | + | 55 | + |
@@ -60,15 +60,15 @@ index 0000000000..cf7d31b0ea | |||
60 | +GST_REGISTRY=@GST_REGISTRY@ | 60 | +GST_REGISTRY=@GST_REGISTRY@ |
61 | +GST_STATE_IGNORE_ELEMENTS="@GST_STATE_IGNORE_ELEMENTS@" | 61 | +GST_STATE_IGNORE_ELEMENTS="@GST_STATE_IGNORE_ELEMENTS@" |
62 | +exec @TEST@ | 62 | +exec @TEST@ |
63 | diff --git a/subprojects/gstreamer/tests/check/template.test.in b/subprojects/gstreamer/tests/check/template.test.in | 63 | diff --git a/tests/check/template.test.in b/tests/check/template.test.in |
64 | index f701627f87..b74ef6ad73 100644 | 64 | index f701627f87a6..b74ef6ad732a 100644 |
65 | --- a/subprojects/gstreamer/tests/check/template.test.in | 65 | --- a/tests/check/template.test.in |
66 | +++ b/subprojects/gstreamer/tests/check/template.test.in | 66 | +++ b/tests/check/template.test.in |
67 | @@ -1,3 +1,3 @@ | 67 | @@ -1,3 +1,3 @@ |
68 | [Test] | 68 | [Test] |
69 | Type=session | 69 | Type=session |
70 | -Exec=@installed_tests_dir@/@program@ | 70 | -Exec=@installed_tests_dir@/@program@ |
71 | +Exec=@installed_tests_dir@/@program@.sh | 71 | +Exec=@installed_tests_dir@/@program@.sh |
72 | -- | 72 | -- |
73 | 2.33.1 | 73 | 2.39.2 |
74 | 74 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0/0005-tests-remove-gstbin-test_watch_for_state_change-test.patch b/recipes-multimedia/gstreamer/gstreamer1.0/0005-tests-remove-gstbin-test_watch_for_state_change-test.patch deleted file mode 100644 index f51df6d2..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0/0005-tests-remove-gstbin-test_watch_for_state_change-test.patch +++ /dev/null | |||
@@ -1,107 +0,0 @@ | |||
1 | From b935abba3d8fa3ea1ce384c08e650afd8c20b78a Mon Sep 17 00:00:00 2001 | ||
2 | From: Claudius Heine <ch@denx.de> | ||
3 | Date: Wed, 2 Feb 2022 13:47:02 +0100 | ||
4 | Subject: [PATCH] tests: remove gstbin:test_watch_for_state_change testcase | ||
5 | |||
6 | This testcase seems to be flaky, and upstream marked it as such: | ||
7 | https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/778 | ||
8 | |||
9 | This patch removes the testcase to avoid it interfering with out ptest. | ||
10 | |||
11 | Signed-off-by: Claudius Heine <ch@denx.de> | ||
12 | |||
13 | Upstream-Status: Inappropriate [needs proper upstream fix] | ||
14 | --- | ||
15 | tests/check/gst/gstbin.c | 69 ------------------- | ||
16 | 1 file changed, 69 deletions(-) | ||
17 | |||
18 | diff --git a/tests/check/gst/gstbin.c b/tests/check/gst/gstbin.c | ||
19 | index e366d5fe20..ac29d81474 100644 | ||
20 | --- a/tests/check/gst/gstbin.c | ||
21 | +++ b/tests/check/gst/gstbin.c | ||
22 | @@ -691,74 +691,6 @@ GST_START_TEST (test_message_state_changed_children) | ||
23 | |||
24 | GST_END_TEST; | ||
25 | |||
26 | -GST_START_TEST (test_watch_for_state_change) | ||
27 | -{ | ||
28 | - GstElement *src, *sink, *bin; | ||
29 | - GstBus *bus; | ||
30 | - GstStateChangeReturn ret; | ||
31 | - | ||
32 | - bin = gst_element_factory_make ("bin", NULL); | ||
33 | - fail_unless (bin != NULL, "Could not create bin"); | ||
34 | - | ||
35 | - bus = g_object_new (gst_bus_get_type (), NULL); | ||
36 | - gst_object_ref_sink (bus); | ||
37 | - gst_element_set_bus (GST_ELEMENT_CAST (bin), bus); | ||
38 | - | ||
39 | - src = gst_element_factory_make ("fakesrc", NULL); | ||
40 | - fail_if (src == NULL, "Could not create fakesrc"); | ||
41 | - sink = gst_element_factory_make ("fakesink", NULL); | ||
42 | - fail_if (sink == NULL, "Could not create fakesink"); | ||
43 | - | ||
44 | - gst_bin_add (GST_BIN (bin), sink); | ||
45 | - gst_bin_add (GST_BIN (bin), src); | ||
46 | - | ||
47 | - fail_unless (gst_element_link (src, sink), "could not link src and sink"); | ||
48 | - | ||
49 | - /* change state, spawning two times three messages */ | ||
50 | - ret = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PAUSED); | ||
51 | - fail_unless (ret == GST_STATE_CHANGE_ASYNC); | ||
52 | - ret = | ||
53 | - gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, | ||
54 | - GST_CLOCK_TIME_NONE); | ||
55 | - fail_unless (ret == GST_STATE_CHANGE_SUCCESS); | ||
56 | - | ||
57 | - pop_state_changed (bus, 6); | ||
58 | - pop_async_done (bus); | ||
59 | - pop_latency (bus); | ||
60 | - | ||
61 | - fail_unless (gst_bus_have_pending (bus) == FALSE, | ||
62 | - "Unexpected messages on bus"); | ||
63 | - | ||
64 | - ret = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PLAYING); | ||
65 | - fail_unless (ret == GST_STATE_CHANGE_SUCCESS); | ||
66 | - | ||
67 | - pop_state_changed (bus, 3); | ||
68 | - | ||
69 | - /* this one might return either SUCCESS or ASYNC, likely SUCCESS */ | ||
70 | - ret = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PAUSED); | ||
71 | - gst_element_get_state (GST_ELEMENT (bin), NULL, NULL, GST_CLOCK_TIME_NONE); | ||
72 | - | ||
73 | - pop_state_changed (bus, 3); | ||
74 | - if (ret == GST_STATE_CHANGE_ASYNC) { | ||
75 | - pop_async_done (bus); | ||
76 | - pop_latency (bus); | ||
77 | - } | ||
78 | - | ||
79 | - fail_unless (gst_bus_have_pending (bus) == FALSE, | ||
80 | - "Unexpected messages on bus"); | ||
81 | - | ||
82 | - gst_bus_set_flushing (bus, TRUE); | ||
83 | - | ||
84 | - ret = gst_element_set_state (GST_ELEMENT (bin), GST_STATE_NULL); | ||
85 | - fail_unless (ret == GST_STATE_CHANGE_SUCCESS); | ||
86 | - | ||
87 | - /* clean up */ | ||
88 | - gst_object_unref (bus); | ||
89 | - gst_object_unref (bin); | ||
90 | -} | ||
91 | - | ||
92 | -GST_END_TEST; | ||
93 | - | ||
94 | GST_START_TEST (test_state_change_error_message) | ||
95 | { | ||
96 | GstElement *src, *sink, *bin; | ||
97 | @@ -1956,7 +1888,6 @@ gst_bin_suite (void) | ||
98 | tcase_add_test (tc_chain, test_message_state_changed); | ||
99 | tcase_add_test (tc_chain, test_message_state_changed_child); | ||
100 | tcase_add_test (tc_chain, test_message_state_changed_children); | ||
101 | - tcase_add_test (tc_chain, test_watch_for_state_change); | ||
102 | tcase_add_test (tc_chain, test_state_change_error_message); | ||
103 | tcase_add_test (tc_chain, test_add_linked); | ||
104 | tcase_add_test (tc_chain, test_add_self); | ||
105 | -- | ||
106 | 2.33.1 | ||
107 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.22.5.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb index ce7b3f1d..33b3c65c 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0_1.22.5.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.24.0.imx.bb | |||
@@ -26,8 +26,8 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x | |||
26 | file://run-ptest \ | 26 | file://run-ptest \ |
27 | file://0001-tests-respect-the-idententaion-used-in-meson.patch \ | 27 | file://0001-tests-respect-the-idententaion-used-in-meson.patch \ |
28 | file://0002-tests-add-support-for-install-the-tests.patch \ | 28 | file://0002-tests-add-support-for-install-the-tests.patch \ |
29 | file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \ | 29 | file://0003-tests-use-a-dictionaries-for-environment.patch \ |
30 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \ | 30 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ |
31 | " | 31 | " |
32 | SRC_URI[sha256sum] = "4408d7930f381809e85917acc19712f173261ba85bdf20c5567b2a21b1193b61" | 32 | SRC_URI[sha256sum] = "4408d7930f381809e85917acc19712f173261ba85bdf20c5567b2a21b1193b61" |
33 | 33 | ||
@@ -95,8 +95,8 @@ LIC_FILES_CHKSUM = " \ | |||
95 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz" | 95 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz" |
96 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " | 96 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " |
97 | GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" | 97 | GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" |
98 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" | 98 | SRCBRANCH = "MM_04.09.00_2405_L6.6.y" |
99 | SRCREV = "1a43c16272a7f4274eb8260e03206a57f317d823" | 99 | SRCREV = "753c7b4471d14befd1b7c9cd3fa9af9f10ab4a08" |
100 | 100 | ||
101 | S = "${WORKDIR}/git" | 101 | S = "${WORKDIR}/git" |
102 | 102 | ||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-aiurdemux-Fix-type-of-USER_DATA_LOCATION.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-aiurdemux-Fix-type-of-USER_DATA_LOCATION.patch deleted file mode 100644 index bdcb3f48..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0001-aiurdemux-Fix-type-of-USER_DATA_LOCATION.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 090fb758a63b7d362d9bee8b8a665d1346c83f83 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 13 Mar 2023 20:15:22 -0700 | ||
4 | Subject: [PATCH 01/10] aiurdemux: Fix type of USER_DATA_LOCATION | ||
5 | |||
6 | It should be char pointer not integer | ||
7 | Fixe | ||
8 | plugins/aiurdemux/aiurdemux.c:198:47: error: incompatible integer to pointer conversion initializin | ||
9 | g 'const gchar *' (aka 'const char *') with an expression of type 'int' [-Wint-conversion] | ||
10 | {USER_DATA_LOCATION, USER_DATA_FORMAT_UTF8, -1, | ||
11 | ^~ | ||
12 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | plugins/aiurdemux/aiurdemux.c | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/plugins/aiurdemux/aiurdemux.c b/plugins/aiurdemux/aiurdemux.c | ||
19 | index 532b439..39c50ea 100755 | ||
20 | --- a/plugins/aiurdemux/aiurdemux.c | ||
21 | +++ b/plugins/aiurdemux/aiurdemux.c | ||
22 | @@ -195,7 +195,7 @@ static AiurDemuxTagEntry g_user_data_entry[] = { | ||
23 | "Track Number : %s\n"}, | ||
24 | {USER_DATA_TOTALTRACKNUMBER, USER_DATA_FORMAT_UTF8, GST_TAG_TRACK_COUNT, | ||
25 | "Track Count : %s\n"}, | ||
26 | - {USER_DATA_LOCATION, USER_DATA_FORMAT_UTF8, -1, | ||
27 | + {USER_DATA_LOCATION, USER_DATA_FORMAT_UTF8, (const gchar*)-1, | ||
28 | "Location : %s\n"}, | ||
29 | {USER_DATA_KEYWORDS, USER_DATA_FORMAT_UTF8, GST_TAG_KEYWORDS, | ||
30 | "Keywords : %s\n"}, | ||
31 | -- | ||
32 | 2.39.2 | ||
33 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0002-aiurdemux.h-Include-glib-gprintf.h-for-g_printf-prot.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0002-aiurdemux.h-Include-glib-gprintf.h-for-g_printf-prot.patch deleted file mode 100644 index d3fdf924..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0002-aiurdemux.h-Include-glib-gprintf.h-for-g_printf-prot.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From f8b8322cd4c3a69e5cb47b5cb33abe860e89d6ed Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 12 Mar 2023 20:33:54 -0700 | ||
4 | Subject: [PATCH 02/10] aiurdemux.h: Include glib/gprintf.h for g_printf | ||
5 | prototype | ||
6 | |||
7 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | plugins/aiurdemux/aiurdemux.h | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/plugins/aiurdemux/aiurdemux.h b/plugins/aiurdemux/aiurdemux.h | ||
14 | index 1d7d0a0..f7fcb2e 100755 | ||
15 | --- a/plugins/aiurdemux/aiurdemux.h | ||
16 | +++ b/plugins/aiurdemux/aiurdemux.h | ||
17 | @@ -39,7 +39,7 @@ | ||
18 | #include <gst/gst.h> | ||
19 | #include <gst/base/gstadapter.h> | ||
20 | #include <gst/tag/tag.h> | ||
21 | - | ||
22 | +#include <glib/gprintf.h> | ||
23 | //#include "mfw_gst_utils.h" | ||
24 | |||
25 | #include "fsl_parser.h" | ||
26 | -- | ||
27 | 2.39.2 | ||
28 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0003-grecorder-Fix-build-with-clang.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0003-grecorder-Fix-build-with-clang.patch deleted file mode 100644 index a690b497..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0003-grecorder-Fix-build-with-clang.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From 19e6a541d2026386c9cfdeca0eebd269fef2536c Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 13 Mar 2023 20:29:01 -0700 | ||
4 | Subject: [PATCH 03/10] grecorder: Fix build with clang | ||
5 | |||
6 | Add missing includes for APIs from libc and glib | ||
7 | Add prototype declaration for post_message before | ||
8 | using it in macros later in the same source file | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | tools/grecorder/grecorder.c | 5 ++++- | ||
14 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/tools/grecorder/grecorder.c b/tools/grecorder/grecorder.c | ||
17 | index c8eff2f..89aa801 100644 | ||
18 | --- a/tools/grecorder/grecorder.c | ||
19 | +++ b/tools/grecorder/grecorder.c | ||
20 | @@ -23,10 +23,11 @@ | ||
21 | #include <semaphore.h> | ||
22 | #include <pthread.h> | ||
23 | #include <signal.h> | ||
24 | +#include <unistd.h> /* sleep */ | ||
25 | #include <getopt.h> | ||
26 | #define __USE_LARGEFILE64 | ||
27 | #include <sys/statvfs.h> | ||
28 | - | ||
29 | +#include <glib/gprintf.h> /* g_print */ | ||
30 | #include "recorder_engine.h" | ||
31 | |||
32 | #define LOG_ERROR printf | ||
33 | @@ -168,6 +169,8 @@ static RecorderMessage latest_message = MESSAGE_NULL; | ||
34 | |||
35 | static volatile sig_atomic_t quit_flag = 0; | ||
36 | |||
37 | +static void post_message (RecorderMessage message); | ||
38 | + | ||
39 | static void signal_handler(int signum) | ||
40 | { | ||
41 | quit_flag = 1; | ||
42 | -- | ||
43 | 2.39.2 | ||
44 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0004-gstimxcommon-Return-0-instead-of-NULL-for-a-function.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0004-gstimxcommon-Return-0-instead-of-NULL-for-a-function.patch deleted file mode 100644 index 292ab63f..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0004-gstimxcommon-Return-0-instead-of-NULL-for-a-function.patch +++ /dev/null | |||
@@ -1,87 +0,0 @@ | |||
1 | From 141f8f692ae2c7e6d41a2d78113c806602122ad5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 12 Mar 2023 19:51:27 -0700 | ||
4 | Subject: [PATCH 04/10] gstimxcommon: Return 0 instead of NULL for a functions | ||
5 | returning unsigned long | ||
6 | |||
7 | Fixes | ||
8 | gstimxcommon.c:113:10: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'unsigned long' [-Wint-conversion] | ||
9 | return NULL; | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | libs/gstimxcommon.c | 18 +++++++++--------- | ||
15 | 1 file changed, 9 insertions(+), 9 deletions(-) | ||
16 | |||
17 | diff --git a/libs/gstimxcommon.c b/libs/gstimxcommon.c | ||
18 | index 27fd913..803c6e5 100644 | ||
19 | --- a/libs/gstimxcommon.c | ||
20 | +++ b/libs/gstimxcommon.c | ||
21 | @@ -35,13 +35,13 @@ unsigned long phy_addr_from_fd(int dmafd) | ||
22 | int ret, fd; | ||
23 | |||
24 | if (dmafd < 0) | ||
25 | - return NULL; | ||
26 | + return 0; | ||
27 | |||
28 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) | ||
29 | #ifdef USE_ION | ||
30 | fd = open(dev_ion, O_RDWR); | ||
31 | if(fd < 0) { | ||
32 | - return NULL; | ||
33 | + return 0; | ||
34 | } | ||
35 | |||
36 | struct ion_phys_dma_data data = { | ||
37 | @@ -58,18 +58,18 @@ unsigned long phy_addr_from_fd(int dmafd) | ||
38 | ret = ioctl(fd, ION_IOC_CUSTOM, &custom); | ||
39 | close(fd); | ||
40 | if (ret < 0) | ||
41 | - return NULL; | ||
42 | + return 0; | ||
43 | |||
44 | return data.phys; | ||
45 | #else | ||
46 | - return NULL; | ||
47 | + return 0; | ||
48 | #endif /* USE_ION */ | ||
49 | #else | ||
50 | struct dma_buf_phys dma_phys; | ||
51 | |||
52 | ret = ioctl(dmafd, DMA_BUF_IOCTL_PHYS, &dma_phys); | ||
53 | if (ret < 0) | ||
54 | - return NULL; | ||
55 | + return 0; | ||
56 | |||
57 | return dma_phys.phys; | ||
58 | #endif | ||
59 | @@ -86,7 +86,7 @@ unsigned long phy_addr_from_vaddr(void *vaddr, int size) | ||
60 | #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) | ||
61 | fd = open(dev_ion, O_RDWR); | ||
62 | if(fd < 0) { | ||
63 | - return NULL; | ||
64 | + return 0; | ||
65 | } | ||
66 | |||
67 | struct ion_phys_virt_data data = { | ||
68 | @@ -103,13 +103,13 @@ unsigned long phy_addr_from_vaddr(void *vaddr, int size) | ||
69 | ret = ioctl(fd, ION_IOC_CUSTOM, &custom); | ||
70 | close(fd); | ||
71 | if (ret < 0) | ||
72 | - return NULL; | ||
73 | + return 0; | ||
74 | |||
75 | return data.phys; | ||
76 | #else | ||
77 | - return NULL; | ||
78 | + return 0; | ||
79 | #endif | ||
80 | #else | ||
81 | - return NULL; | ||
82 | + return 0; | ||
83 | #endif | ||
84 | } | ||
85 | -- | ||
86 | 2.39.2 | ||
87 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0005-aiurstreamcache-Include-gst-gstinfo.h.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0005-aiurstreamcache-Include-gst-gstinfo.h.patch deleted file mode 100644 index 5f67ba1b..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0005-aiurstreamcache-Include-gst-gstinfo.h.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 379b0492a4b53fd8fd42c734d04fd62df2e0465f Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 13 Mar 2023 20:16:48 -0700 | ||
4 | Subject: [PATCH 05/10] aiurstreamcache: Include gst/gstinfo.h | ||
5 | |||
6 | Its needed for various GST_* defines | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | plugins/aiurdemux/aiurstreamcache.c | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/plugins/aiurdemux/aiurstreamcache.c b/plugins/aiurdemux/aiurstreamcache.c | ||
15 | index d566268..e114a9d 100755 | ||
16 | --- a/plugins/aiurdemux/aiurstreamcache.c | ||
17 | +++ b/plugins/aiurdemux/aiurstreamcache.c | ||
18 | @@ -33,6 +33,7 @@ | ||
19 | * Changelog: | ||
20 | * | ||
21 | */ | ||
22 | + #include <gst/gstinfo.h> | ||
23 | |||
24 | GST_DEBUG_CATEGORY_EXTERN (aiurdemux_debug); | ||
25 | #define GST_CAT_DEFAULT aiurdemux_debug | ||
26 | -- | ||
27 | 2.39.2 | ||
28 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0006-Fix-typecast-warnings-found-with-clang.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0006-Fix-typecast-warnings-found-with-clang.patch deleted file mode 100644 index ae3d1061..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0006-Fix-typecast-warnings-found-with-clang.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | From 02e16c4de3f138f0ebabf699e840bb86c98be599 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 12 Mar 2023 20:45:23 -0700 | ||
4 | Subject: [PATCH 06/10] Fix typecast warnings found with clang | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | libs/device-2d/imx_2d_device_g2d.c | 15 ++++++++------- | ||
10 | 1 file changed, 8 insertions(+), 7 deletions(-) | ||
11 | |||
12 | diff --git a/libs/device-2d/imx_2d_device_g2d.c b/libs/device-2d/imx_2d_device_g2d.c | ||
13 | index 2672e0b..6a36f6a 100755 | ||
14 | --- a/libs/device-2d/imx_2d_device_g2d.c | ||
15 | +++ b/libs/device-2d/imx_2d_device_g2d.c | ||
16 | @@ -425,7 +425,7 @@ static gint imx_g2d_blit(Imx2DDevice *device, | ||
17 | goto err; | ||
18 | } | ||
19 | if (paddr) { | ||
20 | - src->mem->paddr = paddr; | ||
21 | + src->mem->paddr = (guint8*)paddr; | ||
22 | } else { | ||
23 | GST_ERROR ("Can't get physical address."); | ||
24 | ret = -1; | ||
25 | @@ -435,7 +435,7 @@ static gint imx_g2d_blit(Imx2DDevice *device, | ||
26 | if (!dst->mem->paddr) { | ||
27 | paddr = phy_addr_from_fd (dst->fd[0]); | ||
28 | if (paddr) { | ||
29 | - dst->mem->paddr = paddr; | ||
30 | + dst->mem->paddr = (guint8*)paddr; | ||
31 | } else { | ||
32 | GST_ERROR ("Can't get physical address."); | ||
33 | ret = -1; | ||
34 | @@ -474,10 +474,11 @@ static gint imx_g2d_blit(Imx2DDevice *device, | ||
35 | |||
36 | if (src->fd[1] >= 0) | ||
37 | { | ||
38 | - if (!src->mem->user_data) | ||
39 | - src->mem->user_data = g2d->src.base.planes[1] = phy_addr_from_fd (src->fd[1]); | ||
40 | - else | ||
41 | - g2d->src.base.planes[1] = src->mem->user_data; | ||
42 | + if (!src->mem->user_data) { | ||
43 | + g2d->src.base.planes[1] = (gint)phy_addr_from_fd (src->fd[1]); | ||
44 | + src->mem->user_data = (gpointer *)g2d->src.base.planes[1]; | ||
45 | + } else | ||
46 | + g2d->src.base.planes[1] = (unsigned long)src->mem->user_data; | ||
47 | } | ||
48 | switch (src->interlace_type) { | ||
49 | case IMX_2D_INTERLACE_INTERLEAVED: | ||
50 | @@ -693,7 +694,7 @@ static gint imx_g2d_fill_color(Imx2DDevice *device, Imx2DFrame *dst, | ||
51 | if (!dst->mem->paddr) { | ||
52 | paddr = phy_addr_from_fd (dst->fd[0]); | ||
53 | if (paddr) { | ||
54 | - dst->mem->paddr = paddr; | ||
55 | + dst->mem->paddr = (guint8*)paddr; | ||
56 | } else { | ||
57 | GST_ERROR ("Can't get physical address."); | ||
58 | return -1; | ||
59 | -- | ||
60 | 2.39.2 | ||
61 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0007-gstimxv4l2-Fix-typecasting-errors.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0007-gstimxv4l2-Fix-typecasting-errors.patch deleted file mode 100644 index 1983838a..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0007-gstimxv4l2-Fix-typecasting-errors.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From a1a2069403e227d4d40fc99257d1be077f65bdc8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 12 Mar 2023 19:54:18 -0700 | ||
4 | Subject: [PATCH 07/10] gstimxv4l2: Fix typecasting errors | ||
5 | |||
6 | Fixes | ||
7 | gstimxv4l2.c:1702:22: error: incompatible pointer to integer conversion assigning to 'unsigned long' from 'guint8 *' (aka 'unsigned char *') [-Wint-conversion] | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | libs/v4l2_core/gstimxv4l2.c | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/libs/v4l2_core/gstimxv4l2.c b/libs/v4l2_core/gstimxv4l2.c | ||
16 | index 1dc826b..bf2620a 100755 | ||
17 | --- a/libs/v4l2_core/gstimxv4l2.c | ||
18 | +++ b/libs/v4l2_core/gstimxv4l2.c | ||
19 | @@ -1699,7 +1699,7 @@ gint gst_imx_v4l2_register_buffer (gpointer v4l2handle, PhyMemBlock *memblk) | ||
20 | v4l2buf->type = handle->type; | ||
21 | v4l2buf->memory = handle->memory_mode; | ||
22 | v4l2buf->index = handle->allocated; | ||
23 | - v4l2buf->m.userptr = memblk->paddr; | ||
24 | + v4l2buf->m.userptr = (unsigned long)memblk->paddr; | ||
25 | v4l2buf->length = memblk->size; | ||
26 | handle->buffer_pair[handle->allocated].vaddr = memblk->vaddr; | ||
27 | |||
28 | -- | ||
29 | 2.39.2 | ||
30 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0008-beepdec-Declare-beep_register_external_typefinders.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0008-beepdec-Declare-beep_register_external_typefinders.patch deleted file mode 100644 index 211bade1..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0008-beepdec-Declare-beep_register_external_typefinders.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From e86c20fee52f79a270a1913c5f0be98fb3f5cb77 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 13 Mar 2023 20:18:18 -0700 | ||
4 | Subject: [PATCH 08/10] beepdec: Declare beep_register_external_typefinders | ||
5 | |||
6 | Fixes | ||
7 | plugins/beepdec/beep.c:45:3: error: call to undeclared function 'beep_register_external_typefinders'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | ||
8 | beep_register_external_typefinders (plugin); | ||
9 | ^ | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | plugins/beepdec/beep.c | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/plugins/beepdec/beep.c b/plugins/beepdec/beep.c | ||
18 | index 3543352..e174bb3 100755 | ||
19 | --- a/plugins/beepdec/beep.c | ||
20 | +++ b/plugins/beepdec/beep.c | ||
21 | @@ -37,7 +37,7 @@ | ||
22 | #endif | ||
23 | #include "beepdec.h" | ||
24 | #include "gstimxcommon.h" | ||
25 | - | ||
26 | +extern gboolean beep_register_external_typefinders (GstPlugin * plugin); | ||
27 | static gboolean | ||
28 | plugin_init (GstPlugin * plugin) | ||
29 | { | ||
30 | -- | ||
31 | 2.39.2 | ||
32 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0009-gstimxv4l2.c-Fix-incompatible-integer-to-pointer-con.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0009-gstimxv4l2.c-Fix-incompatible-integer-to-pointer-con.patch deleted file mode 100644 index 567d1026..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0009-gstimxv4l2.c-Fix-incompatible-integer-to-pointer-con.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 8a3d7f26c73bdfe050d3331b30ae2f5917dc6723 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 12 Mar 2023 19:59:22 -0700 | ||
4 | Subject: [PATCH 09/10] gstimxv4l2.c: Fix incompatible integer to pointer | ||
5 | conversion returning | ||
6 | |||
7 | Fixes | ||
8 | gstimxv4l2.c:1587:24: error: incompatible pointer to integer conversion assigning to 'unsigned long' from 'guint8 *' (aka 'unsigned char *') [-Wint-c | ||
9 | onversion] | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | libs/v4l2_core/gstimxv4l2.c | 4 ++-- | ||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/libs/v4l2_core/gstimxv4l2.c b/libs/v4l2_core/gstimxv4l2.c | ||
18 | index bf2620a..0fd7452 100755 | ||
19 | --- a/libs/v4l2_core/gstimxv4l2.c | ||
20 | +++ b/libs/v4l2_core/gstimxv4l2.c | ||
21 | @@ -1576,7 +1576,7 @@ static void * gst_imx_v4l2_find_buffer(gpointer v4l2handle, PhyMemBlock *memblk) | ||
22 | |||
23 | if (handle->allocated >= MAX_BUFFER) { | ||
24 | GST_ERROR ("No more v4l2 buffer for allocating.\n"); | ||
25 | - return -1; | ||
26 | + return NULL; | ||
27 | } | ||
28 | |||
29 | v4l2buf = &handle->buffer_pair[handle->allocated].v4l2buffer; | ||
30 | @@ -1584,7 +1584,7 @@ static void * gst_imx_v4l2_find_buffer(gpointer v4l2handle, PhyMemBlock *memblk) | ||
31 | v4l2buf->type = handle->type; | ||
32 | v4l2buf->memory = handle->memory_mode; | ||
33 | v4l2buf->index = handle->allocated; | ||
34 | - v4l2buf->m.userptr = memblk->paddr; | ||
35 | + v4l2buf->m.userptr = (unsigned long)memblk->paddr; | ||
36 | v4l2buf->length = memblk->size; | ||
37 | handle->buffer_pair[handle->allocated].vaddr = memblk->vaddr; | ||
38 | |||
39 | -- | ||
40 | 2.39.2 | ||
41 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0010-provide-declaration-for-aiur_register_external_typef.patch b/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0010-provide-declaration-for-aiur_register_external_typef.patch deleted file mode 100644 index e9b1a093..00000000 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin/0010-provide-declaration-for-aiur_register_external_typef.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From c2144da90e64547d9e346f8e721a0d2155ed610b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 12 Mar 2023 21:09:49 -0700 | ||
4 | Subject: [PATCH 10/10] provide declaration for | ||
5 | aiur_register_external_typefinders | ||
6 | |||
7 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-gst1.0-plugin/pull/4] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | plugins/aiurdemux/aiur.c | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/plugins/aiurdemux/aiur.c b/plugins/aiurdemux/aiur.c | ||
14 | index 2a52465..681ae2e 100755 | ||
15 | --- a/plugins/aiurdemux/aiur.c | ||
16 | +++ b/plugins/aiurdemux/aiur.c | ||
17 | @@ -41,6 +41,8 @@ | ||
18 | #include "aiurdemux.h" | ||
19 | #include "gstimxcommon.h" | ||
20 | |||
21 | +extern gboolean aiur_register_external_typefinders (GstPlugin * plugin); | ||
22 | + | ||
23 | static gboolean | ||
24 | plugin_init (GstPlugin * plugin) | ||
25 | { | ||
26 | -- | ||
27 | 2.39.2 | ||
28 | |||
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb index 7a94b42f..d5ba00ed 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | |||
@@ -34,23 +34,13 @@ RREPLACES:${PN} = "gst1.0-fsl-plugin" | |||
34 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" | 34 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" |
35 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" | 35 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" |
36 | 36 | ||
37 | PV = "4.8.3+git${SRCPV}" | 37 | PV = "4.9.0+git${SRCPV}" |
38 | 38 | ||
39 | SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \ | 39 | SRC_URI = "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https;branch=${SRCBRANCH} \ |
40 | file://0001-aiurdemux-Fix-type-of-USER_DATA_LOCATION.patch \ | ||
41 | file://0002-aiurdemux.h-Include-glib-gprintf.h-for-g_printf-prot.patch \ | ||
42 | file://0003-grecorder-Fix-build-with-clang.patch \ | ||
43 | file://0004-gstimxcommon-Return-0-instead-of-NULL-for-a-function.patch \ | ||
44 | file://0005-aiurstreamcache-Include-gst-gstinfo.h.patch \ | ||
45 | file://0006-Fix-typecast-warnings-found-with-clang.patch \ | ||
46 | file://0007-gstimxv4l2-Fix-typecasting-errors.patch \ | ||
47 | file://0008-beepdec-Declare-beep_register_external_typefinders.patch \ | ||
48 | file://0009-gstimxv4l2.c-Fix-incompatible-integer-to-pointer-con.patch \ | ||
49 | file://0010-provide-declaration-for-aiur_register_external_typef.patch \ | ||
50 | file://0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch \ | 40 | file://0011-meson-Undef-_TIME_BITS-along-with-_FILE_OFFSET_BITS.patch \ |
51 | " | 41 | " |
52 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" | 42 | SRCBRANCH = "MM_04.09.00_2405_L6.6.y" |
53 | SRCREV = "91c7fec888cf8932c91e354331aad94975cae3ff" | 43 | SRCREV = "c3049a137f79e4eabc98785aefcd217ebcde9e96" |
54 | 44 | ||
55 | S = "${WORKDIR}/git" | 45 | S = "${WORKDIR}/git" |
56 | 46 | ||