Format
This commit is contained in:
parent
006d83e9b8
commit
a46eb517e8
12
reStream.sh
12
reStream.sh
@ -62,8 +62,8 @@ while [ $# -gt 0 ]; do
|
||||
|
||||
# check if there is a modprobed v4l2 loopback device
|
||||
# use the first cam as default if there is no output_path already
|
||||
cam_path=$(v4l2-ctl --list-devices \
|
||||
| sed -n '/^[^\s]\+platform:v4l2loopback/{n;s/\s*//g;p;q}')
|
||||
cam_path=$(v4l2-ctl --list-devices |
|
||||
sed -n '/^[^\s]\+platform:v4l2loopback/{n;s/\s*//g;p;q}')
|
||||
|
||||
# fail if there is no such device
|
||||
if [ -e "$cam_path" ]; then
|
||||
@ -278,10 +278,10 @@ else
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086,SC2090
|
||||
$receive_cmd \
|
||||
| $decompress \
|
||||
| $host_passthrough \
|
||||
| (
|
||||
$receive_cmd |
|
||||
$decompress |
|
||||
$host_passthrough |
|
||||
(
|
||||
"$output_cmd" \
|
||||
-vcodec rawvideo \
|
||||
-loglevel "$loglevel" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user