pv-test, stop padding the bitrate.

This commit is contained in:
me
2026-09-16 11:31:00 -07:00
parent a5e1dd6a36
commit 1f5d51e45a
+3 -2
View File
@@ -1117,11 +1117,12 @@ function pv-test {
# Previous loop was the 'bitrate' label, so get bitrate now. # Previous loop was the 'bitrate' label, so get bitrate now.
if [[ "$j" == 'bitrate:' ]]; then if [[ "$j" == 'bitrate:' ]]; then
bitrate="$i" bitrate="$i"
printf -v bitrate_padded "%05d" "$bitrate" #printf -v bitrate_padded "%05d" "$bitrate"
fi fi
# Previous loop was the bitrate, so get the units now. # Previous loop was the bitrate, so get the units now.
if [[ "$j" == "$bitrate" ]]; then if [[ "$j" == "$bitrate" ]]; then
bitrate="_""$bitrate_padded${i//\//p}" #bitrate="_""$bitrate_padded${i//\//p}"
bitrate="_""$bitrate${i//\//p}"
fi fi
j="$i" j="$i"
done done