generated from me/template-mit
pv-test, stop padding the bitrate.
This commit is contained in:
+3
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user