client: webcam fixes on missing glimagesink property

This commit is contained in:
Brad Stein 2025-12-01 00:00:28 -03:00
parent 1ece995ec1
commit 39e4458967

View File

@ -59,9 +59,6 @@ impl MonitorWindow {
/* -------- move/resize overlay ---------------------------------- */
if let Some(sink_elem) = pipeline.by_name("sink") {
// give the native window a predictable title for wmctrl/placement
let _ = sink_elem.set_property("window-title", &format!("Lesavka-eye-{id}"));
if let Ok(overlay) = sink_elem.dynamic_cast::<VideoOverlay>() {
if let Some(r) = rects.get(id as usize) {
// 1. Tell glimagesink how to crop the texture in its own window