From 16db9ab30a2d794206763f2f94d1e54cb65251c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Fri, 11 Aug 2023 11:36:50 +0200 Subject: [PATCH] app: remove special use case with caps filter --- src/app.rs | 2 -- src/gps/element.rs | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/app.rs b/src/app.rs index 9c015e9..d9f2c0f 100644 --- a/src/app.rs +++ b/src/app.rs @@ -882,8 +882,6 @@ impl GPSApp { node.update_properties(&properties); } }); - } else if GPS::ElementInfo::element_is_capsfilter(element_name) { - node.set_light(true); } graphview.add_node(node); for input in inputs { diff --git a/src/gps/element.rs b/src/gps/element.rs index 7247fe4..e8d4503 100644 --- a/src/gps/element.rs +++ b/src/gps/element.rs @@ -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( element_name: &str, direction: PortDirection,