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"
# DVD
[ "$g_vidwidth" -ge "640" ] && g_vidmaxratenew="1800"
if [ -e "$g_tmp"/VID-SD ]
[ "$g_vidwidth" -ge "700" ] && g_vidwidthnew=720
if ! [ -e "$g_tmp"/VID-SD ]
then
[ "$g_vidwidth" -ge "700" ] && g_vidwidthnew=720
else
# HD720p Anamorphic
[ "$g_vidwidth" -ge "911" ] && g_vidwidthnew=960
[ "$g_vidwidth" -ge "911" ] && g_vidmaxratenew="2700"