fix DVD scale

This commit is contained in:
olli 2022-08-25 10:38:51 +02:00
parent 5d01412678
commit 10fefe08d3

View File

@ -128,10 +128,9 @@ function g_compress_video {
[ "$g_vidwidth" -ge "420" ] && g_vidmaxratenew="1200" [ "$g_vidwidth" -ge "420" ] && g_vidmaxratenew="1200"
# DVD # DVD
[ "$g_vidwidth" -ge "640" ] && g_vidmaxratenew="1800" [ "$g_vidwidth" -ge "640" ] && g_vidmaxratenew="1800"
if [ -e "$g_tmp"/VID-SD ]
then
[ "$g_vidwidth" -ge "700" ] && g_vidwidthnew=720 [ "$g_vidwidth" -ge "700" ] && g_vidwidthnew=720
else if ! [ -e "$g_tmp"/VID-SD ]
then
# HD720p Anamorphic # HD720p Anamorphic
[ "$g_vidwidth" -ge "911" ] && g_vidwidthnew=960 [ "$g_vidwidth" -ge "911" ] && g_vidwidthnew=960
[ "$g_vidwidth" -ge "911" ] && g_vidmaxratenew="2700" [ "$g_vidwidth" -ge "911" ] && g_vidmaxratenew="2700"