app: remove special use case with caps filter

This commit is contained in:
Stéphane Cerveau 2023-08-11 11:36:50 +02:00
parent ad6c53a531
commit 16db9ab30a
2 changed files with 0 additions and 6 deletions

View file

@ -882,8 +882,6 @@ impl GPSApp {
node.update_properties(&properties); node.update_properties(&properties);
} }
}); });
} else if GPS::ElementInfo::element_is_capsfilter(element_name) {
node.set_light(true);
} }
graphview.add_node(node); graphview.add_node(node);
for input in inputs { for input in inputs {

View file

@ -213,10 +213,6 @@ impl ElementInfo {
} }
} }
pub fn element_is_capsfilter(element_name: &str) -> bool {
matches!(element_name, "capsfilter")
}
pub fn element_supports_new_pad_request( pub fn element_supports_new_pad_request(
element_name: &str, element_name: &str,
direction: PortDirection, direction: PortDirection,