summaryrefslogtreecommitdiff
path: root/recipes-multimedia/libgstomx-1.0/files/gstomx-1.0.patch
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2017-08-02 18:07:57 +0200
committerDominik Sliwa <dominik.sliwa@toradex.com>2017-10-04 09:58:31 +0200
commitae221996a26ace1768147bc19fad285b7e0613c1 (patch)
treed0bc10535c0ccb5ff2c410e2b0bc3db85ecd9f92 /recipes-multimedia/libgstomx-1.0/files/gstomx-1.0.patch
parent40e9d4bd596a01df7fccd305befc362a08117f9f (diff)
libgstomx: Introduce gstreamer 0.10 support for TK1
Move current gstreamer1.0 base libgstomx to libgstomx1 and add libgstomx with gstreamer-0.10 support for TK1 Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-multimedia/libgstomx-1.0/files/gstomx-1.0.patch')
-rw-r--r--recipes-multimedia/libgstomx-1.0/files/gstomx-1.0.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-multimedia/libgstomx-1.0/files/gstomx-1.0.patch b/recipes-multimedia/libgstomx-1.0/files/gstomx-1.0.patch
new file mode 100644
index 0000000..9e5a702
--- /dev/null
+++ b/recipes-multimedia/libgstomx-1.0/files/gstomx-1.0.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;
+ }