mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 10:20:46 +00:00
feat(linux/kwin): log object serial when available on stream creation (#5299)
This commit is contained in:
@@ -425,7 +425,11 @@ namespace kwin {
|
||||
return -1;
|
||||
}
|
||||
|
||||
BOOST_LOG(info) << "[kwingrab] stream created, PipeWire node "sv << out_node_id;
|
||||
if ((out_objectserial & SPA_ID_INVALID) == SPA_ID_INVALID) {
|
||||
BOOST_LOG(info) << "[kwingrab] Pipewire stream created: node="sv << out_node_id;
|
||||
} else {
|
||||
BOOST_LOG(info) << "[kwingrab] Pipewire stream created: objectserial="sv << out_objectserial << " (node="sv << out_node_id << ")"sv;
|
||||
}
|
||||
|
||||
if (out_params->width == 0 || out_params->height == 0) {
|
||||
BOOST_LOG(error) << "[kwingrab] could not determine output dimensions"sv;
|
||||
|
||||
Reference in New Issue
Block a user