client: webcam fixes on missing glimagesink property
This commit is contained in:
parent
1ece995ec1
commit
39e4458967
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user