summaryrefslogtreecommitdiff
path: root/recipes-multimedia/libgstomx/files/gstomx.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-09-22 21:48:01 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-01-11 12:03:24 +0100
commit701725b55ac4f8f40afa9703a71ae4af65193366 (patch)
treee24d79fb0816de8a2f89066d84c7e99524e35d4a /recipes-multimedia/libgstomx/files/gstomx.patch
parent94bdf86fd977dc71bae118e36e5626acf564a073 (diff)
libgstomx: update to 21.5.0
The patch fixes the following compilation error: ../../gstomx1_src/gst-omx1/omx/gstomxvideoenc.c:2443:7: note: in expansion of macro 'NVX_INDEX_CONFIG_VIDEO_ENCODE_TEMPORALTRADEOFF' NVX_INDEX_CONFIG_VIDEO_ENCODE_TEMPORALTRADEOFF, &eIndex); ^ In file included from ../../gstomx1_src/gst-omx1/omx/gstomxvideoenc.h:29:0, from ../../gstomx1_src/gst-omx1/omx/gstomxvideoenc.c:30: ../../gstomx1_src/gst-omx1/omx/gstomx.h:384:15: note: expected 'gpointer {aka void *}' but argument is of type 'const char *' Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-multimedia/libgstomx/files/gstomx.patch')
-rw-r--r--recipes-multimedia/libgstomx/files/gstomx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-multimedia/libgstomx/files/gstomx.patch b/recipes-multimedia/libgstomx/files/gstomx.patch
new file mode 100644
index 0000000..9e5a702
--- /dev/null
+++ b/recipes-multimedia/libgstomx/files/gstomx.patch
@@ -0,0 +1,12 @@
+diff -Naur a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c
+--- a/omx/gstomxvideoenc.c 2016-06-08 06:17:32.000000000 +0200
++++ b/omx/gstomxvideoenc.c 2017-01-08 23:54:18.217242233 +0100
+@@ -2440,7 +2440,7 @@
+
+ err =
+ gst_omx_component_get_index (self->enc,
+- NVX_INDEX_CONFIG_VIDEO_ENCODE_TEMPORALTRADEOFF, &eIndex);
++ (char *) NVX_INDEX_CONFIG_VIDEO_ENCODE_TEMPORALTRADEOFF, &eIndex);
+ if (err != OMX_ErrorNone) {
+ return FALSE;
+ }