From 078940fd48ac6ac21f2cae7e3e34dc98530bf0df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Mon, 13 Feb 2023 15:53:36 +0100 Subject: [PATCH] element: element_is_capsfilter --- src/gps/element.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gps/element.rs b/src/gps/element.rs index 199faf0..3f188a9 100644 --- a/src/gps/element.rs +++ b/src/gps/element.rs @@ -200,6 +200,10 @@ 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,