server: skip read-only MJPEG frame index
This commit is contained in:
parent
dcb6ccd157
commit
baf8374905
@ -182,7 +182,6 @@ if [[ -z $DISABLE_UVC ]]; then
|
|||||||
echo 0 >"$F/streaming/mjpeg/m/bmaControls" 2>/dev/null || true
|
echo 0 >"$F/streaming/mjpeg/m/bmaControls" 2>/dev/null || true
|
||||||
|
|
||||||
mkdir -p "$F/streaming/mjpeg/m/720p"
|
mkdir -p "$F/streaming/mjpeg/m/720p"
|
||||||
echo 1 >"$F/streaming/mjpeg/m/720p/bFrameIndex"
|
|
||||||
echo 0 >"$F/streaming/mjpeg/m/720p/bmCapabilities"
|
echo 0 >"$F/streaming/mjpeg/m/720p/bmCapabilities"
|
||||||
echo "$UVC_WIDTH" >"$F/streaming/mjpeg/m/720p/wWidth"
|
echo "$UVC_WIDTH" >"$F/streaming/mjpeg/m/720p/wWidth"
|
||||||
echo "$UVC_HEIGHT" >"$F/streaming/mjpeg/m/720p/wHeight"
|
echo "$UVC_HEIGHT" >"$F/streaming/mjpeg/m/720p/wHeight"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user