mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
Merge branch 'develop' into min
This commit is contained in:
commit
23ff925d25
1 changed files with 14 additions and 12 deletions
|
@ -204,6 +204,10 @@ Remark:
|
|||
END
|
||||
}
|
||||
|
||||
function ignore_option() {
|
||||
echo "ignore option \"$option\""
|
||||
}
|
||||
|
||||
function parse_user_option() {
|
||||
case "$option" in
|
||||
-h) help=yes ;;
|
||||
|
@ -293,18 +297,16 @@ function parse_user_option() {
|
|||
--with-hls) SRS_HLS=YES ;;
|
||||
--with-dvr) SRS_DVR=YES ;;
|
||||
|
||||
--without-stream-caster) ;&
|
||||
--without-ingest) ;&
|
||||
--without-ssl) ;&
|
||||
--without-stat) ;&
|
||||
--without-transcode) ;&
|
||||
--without-http-callback) ;&
|
||||
--without-http-server) ;&
|
||||
--without-http-api) ;&
|
||||
--without-hls) ;&
|
||||
--without-dvr)
|
||||
echo "ignore option \"$option\""
|
||||
;;
|
||||
--without-stream-caster) ignore_option ;;
|
||||
--without-ingest) ignore_option ;;
|
||||
--without-ssl) ignore_option ;;
|
||||
--without-stat) ignore_option ;;
|
||||
--without-transcode) ignore_option ;;
|
||||
--without-http-callback) ignore_option ;;
|
||||
--without-http-server) ignore_option ;;
|
||||
--without-http-api) ignore_option ;;
|
||||
--without-hls) ignore_option ;;
|
||||
--without-dvr) ignore_option ;;
|
||||
|
||||
*)
|
||||
echo "$0: error: invalid option \"$option\""
|
||||
|
|
Loading…
Reference in a new issue