Update FFmpeg for Rockchip image (#9912)

* update build files

* update ffmpeg presets

* remove fix for HA add-on
This commit is contained in:
Marc Altmann
2024-02-21 00:21:24 +01:00
committed by GitHub
parent f64ffa3a56
commit 299511cd9d
4 changed files with 11 additions and 23 deletions

View File

@@ -42,11 +42,6 @@ class Rknn(DetectionApi):
type_key = DETECTOR_KEY
def __init__(self, config: RknnDetectorConfig):
# create symlink for Home Assistant add on
if not os.path.isfile("/proc/device-tree/compatible"):
if os.path.isfile("/device-tree/compatible"):
os.symlink("/device-tree/compatible", "/proc/device-tree/compatible")
# find out SoC
try:
with open("/proc/device-tree/compatible") as file: