diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-08-04 08:24:08 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 08:24:08 -0300 |
commit | 0608f5dc75b404f4b5abd1facae922b289db3521 (patch) | |
tree | fe76ccb128f7690067dea3edba507fb0c5066be1 /recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch | |
parent | f90d7cb79d560b961c7da8bb67e37007eab73850 (diff) | |
parent | 71d525901634ebbcc4dfd2d37967dd973f407dd8 (diff) | |
download | meta-freescale-0608f5dc75b404f4b5abd1facae922b289db3521.tar.gz |
Merge pull request #1619 from thochstein/gstreamer
gstreamer: Upgrade 1.20.3.imx -> 1.22.0.imx
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch deleted file mode 100644 index 19057147..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | From 071fd005ad6572767d7441c97549b1c904719944 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 12 Sep 2022 20:29:25 -0700 | ||
4 | Subject: [PATCH] gstallocatorphymem.c: Typecast result of gst_phymem_get_phy | ||
5 | to guintptr | ||
6 | |||
7 | This fixes a warning/error found with clang-15 | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | gst-libs/gst/allocators/gstallocatorphymem.c | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | --- a/gst-libs/gst/allocators/gstallocatorphymem.c | ||
16 | +++ b/gst-libs/gst/allocators/gstallocatorphymem.c | ||
17 | @@ -225,7 +225,7 @@ static guintptr | ||
18 | gst_allocator_phymem_get_phys_addr (GstPhysMemoryAllocator * allocator, | ||
19 | GstMemory * mem) | ||
20 | { | ||
21 | - return gst_phymem_get_phy (mem); | ||
22 | + return (guintptr)gst_phymem_get_phy (mem); | ||
23 | } | ||
24 | |||
25 | static void | ||
26 | --- a/gst-libs/gst/gl/gstglphymemory.c | ||
27 | +++ b/gst-libs/gst/gl/gstglphymemory.c | ||
28 | @@ -337,7 +337,7 @@ gst_gl_physical_memory_setup_buffer (Gst | ||
29 | GST_VIDEO_INFO_HEIGHT (info), | ||
30 | viv_fmt, | ||
31 | memblk->vaddr, | ||
32 | - memblk->paddr, | ||
33 | + (guint)memblk->paddr, | ||
34 | FALSE | ||
35 | }; | ||
36 | |||
37 | --- a/gst/subparse/gstssaparse.c | ||
38 | +++ b/gst/subparse/gstssaparse.c | ||
39 | @@ -24,7 +24,9 @@ | ||
40 | #include "config.h" | ||
41 | #endif | ||
42 | |||
43 | +#include <ctype.h> /* isspace() */ | ||
44 | #include <stdlib.h> /* atoi() */ | ||
45 | +#include <stdio.h> /* sscanf() */ | ||
46 | #include <string.h> | ||
47 | |||
48 | #include "gstssaparse.h" | ||