sculpt: keep runtime capture session labels

Nitpicker may use session labels for panorama configuration in capture
policies.

Issue #5352
Issue #5356
This commit is contained in:
Christian Helmuth 2024-10-16 15:55:02 +02:00
parent d87a235abb
commit a0ef5b5a36
2 changed files with 2 additions and 3 deletions

View File

@ -713,8 +713,8 @@ install_config {
} [log_route] [driver_routes] {
<service name="Event" label="leitzentrale"> <child name="leitzentrale"/> </service>
<service name="Event"> <child name="event_filter"/> </service>
<service name="Capture" label="global"> <child name="nitpicker"/> </service>
<service name="Capture" label="leitzentrale"> <child name="leitzentrale"/> </service>
<service name="Capture"> <child name="nitpicker"/> </service>
<service name="Pin_state"> <child name="drivers"/> </service>
<service name="Pin_control"> <child name="drivers"/> </service>
<service name="Terminal"> <child name="terminal_monitor"/> </service>

View File

@ -30,8 +30,7 @@ struct Sculpt::Fb_driver : private Noncopyable
auto gen_capture_route = [&] (Xml_generator &xml)
{
gen_service_node<Capture::Session>(xml, [&] {
xml.node("parent", [&] {
xml.attribute("label", "global"); }); });
xml.node("parent", [] { }); });
};
auto start_node = [&] (auto const &driver, auto const &binary, auto const &fn)