transcode : always output in the current dir.

This commit is contained in:
Dmitry Voronin 2023-11-28 03:16:53 +03:00
parent 141fb1c0de
commit 572f1550eb

View file

@ -30,9 +30,8 @@ transcode()
# Define context names and status.
local from="${target##*.}"
local to="${format}"
local output="${target#../}"
output="${output%.*}"
output="${output}.${to}"
local output="${target##*/}"
output="${output%.*}.${to}"
local status="[${count}/${total}] ${target} -> ${output}"
# Show status.