Formatting

This commit is contained in:
Nicolas Mowen
2025-01-18 15:47:03 -07:00
parent c2dca6b495
commit 38c8d79b56
2 changed files with 1 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ function migrate_db_path() {
}
function set_libva_version() {
local ffmpeg_path=$(python3 /usr/local/ffmpeg/get_ffmpeg_path.py)
local ffmpeg_path=$(python3 docker/main/rootfs/usr/local/ffmpeg/get_ffmpeg_path.py)
export LIBAVFORMAT_VERSION_MAJOR=$($ffmpeg_path -version | grep -Po "libavformat\W+\K\d+")
}

View File

@@ -43,4 +43,3 @@ elif path in INCLUDED_FFMPEG_VERSIONS:
print(f"/usr/lib/ffmpeg/{path}/bin/ffmpeg")
else:
print(f"{path}/bin/ffmpeg")