summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2018-04-11 10:01:55 +0200
committerRonan Le Martret <ronan.lemartret@iot.bzh>2018-05-16 09:34:37 +0200
commitb5a2c331d051f325d12f6e44c5a37050cb385c85 (patch)
tree0dbb20c3355d55786842d94beaecae524ab569d6
parent7f7470316461eb4463c40a9489906edbca92f1ca (diff)
[COMMUNITY] Remove hard path from /gstreamer1.0-omx
* replace "/usr/local" with path "${RENESAS_DATADIR}" using: RENESAS_DATADIR = "/usr/local" - meta-rcar-gen3/include/rcar-gen3-path-common.inc Change-Id: I3f7856b5fbb9127942a0fd7b06361a1ff07edf46 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf24
-rw-r--r--meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bbappend3
2 files changed, 15 insertions, 12 deletions
diff --git a/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf b/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf
index 11e5101..5fca3ee 100644
--- a/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf
+++ b/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf
@@ -1,6 +1,6 @@
[omxh264dec]
type-name=GstOMXH264Dec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.VIDEO.DECODER.H264
rank=512
in-port-index=0
@@ -11,7 +11,7 @@ src-template-caps=video/x-raw,format=(string){NV12,I420},width=(int)[1, MAX],hei
[omxaaclcdec]
type-name=GstOMXAACDec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.AUDIO.DECODER.AACLC
rank=256
in-port-index=0
@@ -22,7 +22,7 @@ src-template-caps=audio/x-raw,rate=(int)[8000,96000],channels=(int)[1,2],format=
[omxmpeg4videodec]
type-name=GstOMXMPEG4VideoDec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.VIDEO.DECODER.MPEG4
rank=256
in-port-index=0
@@ -33,7 +33,7 @@ src-template-caps=video/x-raw,format=(string){NV12,I420},width=(int)[1, MAX],hei
[omxvc1dec]
type-name=GstOMXWMVDec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.VIDEO.DECODER.VC1
rank=256
in-port-index=0
@@ -44,7 +44,7 @@ src-template-caps=video/x-raw,format=(string){NV12,I420},width=(int)[1, MAX],hei
[omxh265dec]
type-name=GstOMXH265Dec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.VIDEO.DECODER.H265
rank=256
in-port-index=0
@@ -55,7 +55,7 @@ src-template-caps=video/x-raw,format=(string){NV12,I420},width=(int)[1, MAX],hei
[omxaacdec]
type-name=GstOMXAACDec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.AUDIO.DECODER.AAC
rank=256
in-port-index=0
@@ -66,7 +66,7 @@ src-template-caps=audio/x-raw,rate=(int)[8000,48000],channels=(int){1,2,6},forma
[omxmp3dec]
type-name=GstOMXMP3Dec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.AUDIO.DECODER.MP3
rank=256
in-port-index=0
@@ -77,7 +77,7 @@ src-template-caps=audio/x-raw,rate=(int)[8000,48000],channels=(int){1,2},format=
[omxwmadec]
type-name=GstOMXWMADec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.AUDIO.DECODER.WMA
rank=256
in-port-index=0
@@ -88,7 +88,7 @@ src-template-caps=audio/x-raw,rate=(int)[8000,48000],channels=(int){1,2},format=
[omxh264enc]
type-name=GstOMXH264Enc
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.VIDEO.ENCODER.H264
rank=256
in-port-index=0
@@ -99,7 +99,7 @@ src-template-caps=video/x-h264,stream-format=(string)byte-stream,width=(int)[80,
[omxvp8dec]
type-name=GstOMXVP8Dec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.VIDEO.DECODER.VP8
rank=256
in-port-index=0
@@ -110,7 +110,7 @@ src-template-caps=video/x-raw,format=(string){NV12,I420},width=(int)[1, MAX],hei
[omxvp8enc]
type-name=GstOMXVP8Enc
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.VIDEO.ENCODER.VP8
rank=256
in-port-index=0
@@ -121,7 +121,7 @@ src-template-caps=video/x-vp8,width=(int)[80,1920],height=(int)[80,1080]
[omxvp9dec]
type-name=GstOMXVP9Dec
-core-name=/usr/local/lib/libomxr_core.so
+core-name=@RENESAS_DATADIR@/lib/libomxr_core.so
component-name=OMX.RENESAS.VIDEO.DECODER.VP9
rank=256
in-port-index=0
diff --git a/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bbappend b/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bbappend
index ba983ae..08ecbd5 100644
--- a/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bbappend
+++ b/meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bbappend
@@ -6,6 +6,8 @@ SRC_URI_append = " \
file://gstomx.conf \
"
+require include/rcar-gen3-path-common.inc
+
DEPENDS += "omx-user-module mmngrbuf-user-module"
SRCREV = "6813dedbc9a61ea8a80e54fc373fa07d37114d4a"
@@ -27,6 +29,7 @@ do_configure_prepend() {
export HTTPS_PROXY=${HTTPS_PROXY}
cd ${S}
install -m 0644 ${WORKDIR}/gstomx.conf ${S}/config/rcar/
+ sed -i 's,@RENESAS_DATADIR@,${RENESAS_DATADIR},g' ${S}/config/rcar/gstomx.conf
./autogen.sh --noconfigure
cd ${B}
}