blob: a2dba50b2fc8d8096db92349419bb1e71f697376 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From 85f6603aca1d174848b42e696a4cff8af57613d6 Mon Sep 17 00:00:00 2001
2From: Vincent Davis Jr <vince@underview.tech>
3Date: Thu, 8 Dec 2022 23:38:36 -0600
4Subject: [PATCH] codec: omxil_core replace /opt/vc path with /usr/lib
5
6Upstream-Status: Inappropriate
7
8RPI-Distro repo clones original VLC and applies patches to enable
9raspiberry pi support.
10
11Configures omxil_core.c for OE usages as libbcm_host.so
12and libopenmaxil.so are located in a different location.
13
14Signed-off-by: Vincent Davis Jr <vince@underview.tech>
15---
16 modules/codec/omxil/omxil_core.c | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/modules/codec/omxil/omxil_core.c b/modules/codec/omxil/omxil_core.c
20index 5098f517a..5922d9034 100644
21--- a/modules/codec/omxil/omxil_core.c
22+++ b/modules/codec/omxil/omxil_core.c
23@@ -56,7 +56,7 @@ static const char *ppsz_dll_list[] =
24 #if defined(USE_IOMX)
25 "libiomx.so", /* Not used when using IOMX, the lib should already be loaded */
26 #elif defined(RPI_OMX)
27- "/opt/vc/lib/libopenmaxil.so", /* Broadcom IL core */
28+ "/usr/lib/libopenmaxil.so", /* Broadcom IL core */
29 #elif 1
30 "libOMX_Core.so", /* TI OMAP IL core */
31 "libOmxCore.so", /* Qualcomm IL core */
32@@ -70,7 +70,7 @@ static const char *ppsz_dll_list[] =
33 #ifdef RPI_OMX
34 static const char *ppsz_extra_dll_list[] =
35 {
36- "/opt/vc/lib/libbcm_host.so", /* Broadcom host library */
37+ "/usr/lib/libbcm_host.so", /* Broadcom host library */
38 0
39 };
40 #endif
41--
422.38.1
43