mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-gst.sh pass -r argument (output video resolution)
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
This commit is contained in:
parent
c1b476146c
commit
cafa336f5e
1 changed files with 4 additions and 1 deletions
|
@ -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'
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue