fix: fix wrong messages (#183)
Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
This commit is contained in:
parent
454a5fff57
commit
ae2bc21404
@ -30,8 +30,8 @@ function construct_streamer {
|
|||||||
if [[ "$(is_raspberry_pi)" = "1" ]] && [[ "$(is_ubuntu_arm)" = "0" ]]; then
|
if [[ "$(is_raspberry_pi)" = "1" ]] && [[ "$(is_ubuntu_arm)" = "0" ]]; then
|
||||||
MULTI_INSTANCES+=( "${cams}" )
|
MULTI_INSTANCES+=( "${cams}" )
|
||||||
else
|
else
|
||||||
log_msg "WARN: Mode 'multi' is not supported on your device!"
|
log_msg "WARN: Mode 'camera-streamer' is not supported on your device!"
|
||||||
log_msg "WARN: Falling back to Mode 'mjpg'"
|
log_msg "WARN: Falling back to Mode 'ustreamer'"
|
||||||
MJPG_INSTANCES+=( "${cams}" )
|
MJPG_INSTANCES+=( "${cams}" )
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -39,13 +39,13 @@ function help_msg {
|
|||||||
|
|
||||||
function deprecated_msg_1 {
|
function deprecated_msg_1 {
|
||||||
log_msg "Parameter 'streamer' is deprecated!"
|
log_msg "Parameter 'streamer' is deprecated!"
|
||||||
log_msg "Please use mode: [ mjpg | multi ]"
|
log_msg "Please use mode: [ ustreamer | camera-streamer ]"
|
||||||
log_msg "ERROR: Please update your crowsnest.conf! Stopped."
|
log_msg "ERROR: Please update your crowsnest.conf! Stopped."
|
||||||
}
|
}
|
||||||
|
|
||||||
function unknown_mode_msg {
|
function unknown_mode_msg {
|
||||||
log_msg "WARN: Unknown Mode configured!"
|
log_msg "WARN: Unknown Mode configured!"
|
||||||
log_msg "WARN: Using 'mode: mjpg' as fallback!"
|
log_msg "WARN: Using 'mode: ustreamer' as fallback!"
|
||||||
}
|
}
|
||||||
|
|
||||||
## v4l2_control lib
|
## v4l2_control lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user