usb_webcam: adapt to changes in capture/GUI

Issue #5356
This commit is contained in:
Christian Helmuth 2024-10-21 14:47:17 +02:00
parent 6d78712454
commit 986bec20a9
3 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<runtime binary="init" caps="800" ram="64M" config="usb_webcam.config"> <runtime binary="init" caps="900" ram="64M" config="usb_webcam.config">
<provides> <capture /> </provides> <provides> <capture /> </provides>
<requires> <timer /> <usb /> </requires> <requires> <timer /> <usb /> </requires>
<content> <content>

View File

@ -50,7 +50,7 @@
<provides> <service name="ROM"/> </provides> <provides> <service name="ROM"/> </provides>
<config verbose="no"> <config verbose="no">
<input name="capture_width" rom="displays" node="displays" default=""> <input name="capture_width" rom="displays" node="displays" default="">
<node type="display"> <node type="capture">
<attribute name="width"/> <attribute name="width"/>
</node> </node>
</input> </input>
@ -70,8 +70,7 @@
<service name="Gui"/> <service name="Gui"/>
<service name="Usb"/> <service name="Usb"/>
</parent-provides> </parent-provides>
<default caps="128"/> <start name="usb_webcam" caps="300">
<start name="usb_webcam" caps="250">
<resource name="RAM" quantum="52M"/> <resource name="RAM" quantum="52M"/>
<config ld_verbose="no" enabled="yes" width="640" height="480" format="yuv" fps="15"> <config ld_verbose="no" enabled="yes" width="640" height="480" format="yuv" fps="15">
<vfs> <vfs>
@ -99,7 +98,7 @@
</route> </route>
</start> </start>
<start name="webcam" caps="350"> <start name="webcam" caps="400">
<binary name="init"/> <binary name="init"/>
<resource name="RAM" quantum="54M"/> <resource name="RAM" quantum="54M"/>
<route> <route>

View File

@ -199,7 +199,7 @@ append config {
</route> </route>
</start> </start>
<start name="webcam" priority="-1" caps="800"> <start name="webcam" priority="-1" caps="900">
<binary name="init"/> <binary name="init"/>
<resource name="RAM" quantum="64M"/> <resource name="RAM" quantum="64M"/>
<route> <route>