diff options
author | 2018-04-11 10:01:55 +0200 | |
---|---|---|
committer | 2018-04-19 10:52:30 +0200 | |
commit | bb94ee8e19a5efc973c23a1e8081fce9478cca60 (patch) | |
tree | 64317f27bfe06fa938dbe2f2bc4d37be6c5ca1a7 | |
parent | bbd38f12950c2c611a08b65bbe50ea99348fdedc (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.conf | 24 | ||||
-rw-r--r-- | meta-rcar-gen3/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.2.bbappend | 3 |
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 34496c0..8e841ea 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 = "56401099d1f8acbd279e1258f9385be44d4bf973" @@ -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} } |