Skip to content

Commit

Permalink
miracle-gst.sh pass -r argument (output video resolution)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
  • Loading branch information
AndreyGusakov authored and albfan committed Mar 30, 2015
1 parent c1b4761 commit cafa336
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion res/miracle-gst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
;;
Expand Down

0 comments on commit cafa336

Please sign in to comment.