summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2023-08-04 08:24:08 -0300
committerGitHub <noreply@github.com>2023-08-04 08:24:08 -0300
commit0608f5dc75b404f4b5abd1facae922b289db3521 (patch)
treefe76ccb128f7690067dea3edba507fb0c5066be1 /recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch
parentf90d7cb79d560b961c7da8bb67e37007eab73850 (diff)
parent71d525901634ebbcc4dfd2d37967dd973f407dd8 (diff)
downloadmeta-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-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch
deleted file mode 100644
index 1345dd4f..00000000
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Include-gst-allocators-gstdmabuf.h-for-gst_is_d.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From dc5d752ec3fbec10402aa60fa8245e384e0c7206 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 7 Jun 2023 22:53:47 -0700
4Subject: [PATCH] v4l2: Include gst/allocators/gstdmabuf.h for
5 gst_is_dmabuf_memory()
6
7This is flagged by clang-16
8../git/sys/v4l2/gstv4l2videoenc.c:756:9: error: call to undeclared function 'gst_is_dmabuf_memory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
9 if (gst_is_dmabuf_memory (gst_buffer_peek_memory (frame->input_buffer, 0))
10 ^
11
12Upstream-Status: Submitted [https://github.com/nxp-imx/gst-plugins-good/pull/2]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 sys/v4l2/gstv4l2videoenc.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c
19index a505a228f..f24d5a795 100644
20--- a/sys/v4l2/gstv4l2videoenc.c
21+++ b/sys/v4l2/gstv4l2videoenc.c
22@@ -36,6 +36,7 @@
23
24 #include <string.h>
25 #include <gst/gst-i18n-plugin.h>
26+#include <gst/allocators/gstdmabuf.h>
27
28 GST_DEBUG_CATEGORY_STATIC (gst_v4l2_video_enc_debug);
29 #define GST_CAT_DEFAULT gst_v4l2_video_enc_debug
30--
312.41.0
32