diff --git a/res/miracle-gst.sh b/res/miracle-gst.sh index 9af81c9..99749d5 100755 --- a/res/miracle-gst.sh +++ b/res/miracle-gst.sh @@ -4,12 +4,15 @@ DEBUG='0' AUDIO='0' SCALE='0' -while getopts "d:as:" optname +while getopts "r:d:as:" optname do case "$optname" in "d") DEBUG=`echo ${OPTARG} | tr -d ' '` ;; + "r") + RESOLUTION=`echo ${OPTARG} | tr -d ' '` + ;; "a") AUDIO='1' ;;