small fixes for macos rpath

This commit is contained in:
2025-12-23 09:20:44 -06:00
parent 7ce42985e2
commit ff656d477f
2 changed files with 16 additions and 5 deletions

View File

@@ -447,7 +447,7 @@ gen_encode_script() {
echo 'ffmpeg "${ffmpegParams[@]}" -dolbyvision 0 "${OUTPUT}" || exit 1'
# track-stats and clear title
if [[ ${FILE_EXT} == 'mkv' ]]; then
if [[ ${FILE_EXT} == 'mkv' ]] && has_cmd mkvpropedit; then
{
echo
echo 'mkvpropedit "${OUTPUT}" --add-track-statistics-tags'