element: element_is_capsfilter

This commit is contained in:
Stéphane Cerveau 2023-02-13 15:53:36 +01:00
parent cc42cdeaeb
commit 078940fd48

View file

@ -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,