Skip to content

Commit

Permalink
fix bugs on resolution calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniverse committed Apr 19, 2018
1 parent c67f245 commit c44180e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluray
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ if [[ $resolution == autoar ]]; then
DARH=` echo $DAR | sed "s/:[0-9]\{1,\}//" `
# DH0=` expr $VideoHeight / $DARW `
# DH=` expr $DH0 \* $DARH `
DH=` echo "$VideoHeight/$DARH*$DARW" | bc -l | awk '{print int($0)}' `
DH=` echo "$VideoHeight/$DARW*$DARH" | bc -l | awk '{print int($0)}' `
fenbianlv="${DH}x${DW}"

echo -n "${yellow}${bold}The correct resolution should be ${underline}$fenbianlv${reset_underline},${normal} [${cyan}T${normal}]rue or [F]alse " ; read responce
Expand Down

0 comments on commit c44180e

Please sign in to comment.